4 Commits

Author SHA1 Message Date
Nicolás A. Ortega
d0a673d767
Using switch-case instead of if statements. 2017-07-26 15:36:45 -05:00
Nicolás A. Ortega
b1004f5617
Implemented error handling for `bind()' 2017-07-24 16:25:15 -05:00
Nicolás A. Ortega
2dcdf5b74e
No need to save the state of errno
We don't have any library calls afterwards, so it's fine.
2017-07-24 16:14:47 -05:00
Nicolás A. Ortega
6cc7de6383
Added connection class with basic binding
There's no listening yet, and still a bunch of different errors to
handle.
2017-07-23 23:19:20 -05:00