Skip to content
Snippets Groups Projects
Commit f162dff9 authored by Jonathon Duerig's avatar Jonathon Duerig
Browse files

Added a SendTo command for UDP. Added sequencing information.

parent 54711915
No related branches found
No related tags found
No related merge requests found
...@@ -19,5 +19,21 @@ SO_RCVBUF (int) ...@@ -19,5 +19,21 @@ SO_RCVBUF (int)
SO_SNDBUF (int) SO_SNDBUF (int)
Connected (no value) (RemoteIP and RemotePort MUST be sent before this command) Connected (no value) (RemoteIP and RemotePort MUST be sent before this command)
Write (value is the size of the write or sendto) Write (value is the size of the write or sendto)
SendTo (value is <localPort>:<remoteIP>:<remotePort>:<size>
Closed (no value) 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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment