We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Header: core/net/tcp_socket.hpp Source file: core/net/tcp_socket.cpp
core/net/tcp_socket.hpp
core/net/tcp_socket.cpp
Class name: cubos::core::net::TCPSocket
cubos::core::net::TCPSocket
It should provide:
??? connect(const Address& address, uint16_t port, int timeoutMs = 0)
??? send(const void* data, size_t size, std::size_t& sent)
??? receive(void* data, size_t size size, size_t& received)
void setBlocking(bool blocking)
The text was updated successfully, but these errors were encountered:
roby2014
Successfully merging a pull request may close this issue.
Header:
core/net/tcp_socket.hpp
Source file:
core/net/tcp_socket.cpp
Class name:
cubos::core::net::TCPSocket
It should provide:
??? connect(const Address& address, uint16_t port, int timeoutMs = 0)
should return some kind of result code.??? send(const void* data, size_t size, std::size_t& sent)
should return some kind of result code.??? receive(void* data, size_t size size, size_t& received)
should return some kind of status code.void setBlocking(bool blocking)
- defaults to true. If set to false, functions return immediately (see POSIX sockets / winsocks docs)The text was updated successfully, but these errors were encountered: