Fix comment typo
Replace "at network level" by "at the network level".
This commit is contained in:
parent
e3f5d3b49b
commit
e6feb991db
1 changed files with 4 additions and 4 deletions
|
@ -95,10 +95,10 @@ SDL_bool server_start(struct server *server, const char *serial, Uint16 local_po
|
||||||
}
|
}
|
||||||
|
|
||||||
// At the application level, the device part is "the server" because it
|
// At the application level, the device part is "the server" because it
|
||||||
// serves video stream and control. However, at network level, the client
|
// serves video stream and control. However, at the network level, the
|
||||||
// listens and the server connects to the client. That way, the client can
|
// client listens and the server connects to the client. That way, the
|
||||||
// listen before starting the server app, so there is no need to try to
|
// client can listen before starting the server app, so there is no need to
|
||||||
// connect until the server socket is listening on the device.
|
// try to connect until the server socket is listening on the device.
|
||||||
|
|
||||||
server->server_socket = listen_on_port(local_port);
|
server->server_socket = listen_on_port(local_port);
|
||||||
if (server->server_socket == INVALID_SOCKET) {
|
if (server->server_socket == INVALID_SOCKET) {
|
||||||
|
|
Loading…
Reference in a new issue