Skip to main content

Timeline for Hello World socket server

Current License: CC BY-SA 3.0

9 events
when toggle format what by license comment
Jan 28, 2017 at 20:08 comment added zeppelin I don't think this can handle any number of connects, as . $0 will quickly segfault your shell, due to a stackoverflow see here for more details.
Jun 25, 2014 at 20:54 comment added user344 @professorfish . is the same as source. So basically it sources itself.
Apr 21, 2014 at 7:51 comment added user16402 what does the . $0 at the end do?
Apr 12, 2013 at 16:26 comment added Johannes Kuhn this is the great thing with bash. you can never be sure that it works on an other machine.
Apr 12, 2013 at 15:20 comment added manatwork I suppose that nc is from BusyBox. The GNU netcat requires -p switch too. And with my bash 4.2.42 there is no such error if you remove the space before <<<.
Apr 12, 2013 at 15:03 review Low quality posts
Apr 13, 2013 at 7:09
Apr 12, 2013 at 14:54 comment added marinus If you mean nc -l12345<<<Hello, that doesn't work. nc needs the space between -l and 12345, and removing the space before <<< gets bad file descriptor from Bash.
Apr 12, 2013 at 14:49 comment added Peter Taylor At least one and probably two characters of whitespace there are unnecessary.
Apr 12, 2013 at 14:47 history answered marinus CC BY-SA 3.0