summaryrefslogtreecommitdiff
path: root/grc/grc_gnuradio/blks2/tcp.py
diff options
context:
space:
mode:
Diffstat (limited to 'grc/grc_gnuradio/blks2/tcp.py')
-rw-r--r--grc/grc_gnuradio/blks2/tcp.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/grc/grc_gnuradio/blks2/tcp.py b/grc/grc_gnuradio/blks2/tcp.py
index 8613c02a17..aee90fad2c 100644
--- a/grc/grc_gnuradio/blks2/tcp.py
+++ b/grc/grc_gnuradio/blks2/tcp.py
@@ -28,12 +28,12 @@ def _get_sock_fd(addr, port, server):
Get the file descriptor for the socket.
As a client, block on connect, dup the socket descriptor.
As a server, block on accept, dup the client descriptor.
-
+
Args:
addr: the ip address string
port: the tcp port number
server: true for server mode, false for client mode
-
+
Returns:
the file descriptor number
"""