python-network
Python module for easy networking
Loading...
Searching...
No Matches

◆ sendline()

network.Socket.sendline ( self,
data )

Send a line of text.

Identical to send(), but data is a str and a newline is added.

Parameters
dataline to send. A newline is added. This should be of type str. The data is sent as utf-8.
Returns
None.

Definition at line 328 of file network.py.