-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Single Port Mode Single port mode multiplexes all client communication onto the server's main listening port. Tracks connections with a map of strings to channels. The string representation of the remote address is used as the key. ACK, DATA, and ERRORs are sent on the connection's channel. Calls to conn.readFromNet read off the channel instead of a network connection. * Clean-up duplicate code. Add timeouts and error handling. * Read data directly into conn.rx instead of through conn.buf * Prevent creating a new timer on everyread from reqChan * Refactor incoming datagram dispatch * Improved handling out of sequence ACKs. * Close connection before removing addr from reqMap. * Correct existing tests * Test client against single port server * Prevent Travis CI using uppercase vCabbage in GOPATH * Update README with information about single port mode * Correct misspellings
- Loading branch information
Showing
7 changed files
with
394 additions
and
179 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.