Create TCPSession2 for outpubound connections.

This commit is contained in:
Brad Arant committed 2022-10-17 20:03:23 -07:00
1 parent 5c87225c6f
commit fd70c79282
129 files changed
+1902 -710

No files matched your search

+4 -4
View File
@@ -7,20 +7,20 @@
namespace core {
class IPAddress : public Object {
public:
IPAddress();
IPAddress(std::string address);
IPAddress(std::string address, int port);
~IPAddress();
struct sockaddr_in addr;
struct sockaddr_in addr;
socklen_t addressLength;
struct sockaddr * getPointer();
std::string getClientAddress(); ///<Get the client network address as xxx.xxx.xxx.xxx.
std::string getClientAddressAndPort(); ///<Get the client network address and port as xxx.xxx.xxx.xxx:ppppp.
int getClientPort(); ///<Get the client network port number.
int getClientPort(); ///<Get the client network port number.
};