Hi, First post to the group, but I've been coding in Julia for about a year now.
I'm working on a native Julia client for real-time access to geophysical data via. SeedLink. <https://www.seiscomp3.org/wiki/doc/applications/seedlink>However, it seems like I need a way to interrupt blocking and/or force a timeout on a TCP socket. In DATA mode, SeedLink transmits packets as new data become available until the connection is closed manually. *Questions*: 1. If I try to read from the TCP buffer, it blocks; CTRL-C seemingly can't interrupt. Why? I've read (here and elsewhere) that Julia does an implicit block while waiting for data. Is there a workaround? 2. If I *don't* try a read, the connection shows no data waiting. This appears unique to Julia; I've tested simultaneous connections with identical data requests using C and Python clients; those buffer data while Julia shows 0 bytes waiting. Is something fundamentally different about how Julia deals with (or shows) buffered data? If so, what? Any advice would be appreciated.
