suggestions about Class Socket
Brought to you by:
alec
my boss use your code, and force me to use , yes,i'd
admit, they are nice code, but when i use Socket code, i
find it some times annoying.
for example.
i can't write code like this:
Socket _handle, because you foce me to use Socket
(int af,int type, int protocol), though at this time i don't
know the type and protocol, they should be read from
the configuration file.
second , i don't think the state field is useful, i suggest
use CSocket style wrap. the error message is not detail,
i always use WSAGetLasteError or error to acquire more
details about errors.
please help me ,
can give a
Socket(){_so=INVALID_SOCKET;} constructor?
Logged In: YES
user_id=1000605
and our current project need to support IPV4 and IPV6, my
boss tell me to modify the code, but if you have the plan to
support IPV6, i 'll be very glad.
and can i join the developers?
Logged In: YES
user_id=1000605
sorry ,very sorry ,
i mix CPPCC with commoncpp2