Create a new Connection for handling communication on the existing socket
socket
.
The initial_buffer
contains zero terminated data already read from socket
which should be used before starting
to read new data.
socket |
a Socket |
ip |
the IP address of the other end |
port |
the port used by the other end |
initial_buffer |
data already read from |
conn |
storage for a Connection |
OK when |