Commit f162dff9 authored by Jonathon Duerig's avatar Jonathon Duerig

Added a SendTo command for UDP. Added sequencing information.

parent 54711915
......@@ -19,5 +19,21 @@ SO_RCVBUF (int)
SO_SNDBUF (int)
Connected (no value) (RemoteIP and RemotePort MUST be sent before this command)
Write (value is the size of the write or sendto)
SendTo (value is <localPort>:<remoteIP>:<remotePort>:<size>
Closed (no value)
On a TCP connection, there should be the following sequence:
New
(TCP_NODELAY|TCP_MAXSEG|SO_RCVBUF|SO_SNDBUF|RemoteIP|RemotePort)*
Connected
LocalPort
Write*
Closed
On a UDP connection, there should be the following sequence:
New
(SO_RCVBUF|SO_SNDBUF)*
SendTo*
Closed
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment