- Naming Convention\n- Cleanup

This was SVN commit r185.
This commit is contained in:
Simon Brenner 2004-03-08 02:08:12 +00:00
parent c7e551a82b
commit f0bd3c597e

View File

@ -2,23 +2,11 @@
CServerSocket::~CServerSocket()
{
// We must ensure that the CSocket destructor doesn't try to
// disconnect the server socket
//FIXME stuff
}
/*void CServerSocket::GetRemoteAddress(CSocketInternal *pInt, u8 (&address)[4], int &port)
{
port=ntohs(pInt->m_RemoteAddr.sin_port);
address[0]=(u8)(pInt->m_RemoteAddr.sin_addr.s_addr & 0xff);
address[1]=(u8)((pInt->m_RemoteAddr.sin_addr.s_addr >> 8) & 0xff);
address[2]=(u8)((pInt->m_RemoteAddr.sin_addr.s_addr >> 16) & 0xff);
address[3]=(u8)(pInt->m_RemoteAddr.sin_addr.s_addr >> 24);
}*/
void CServerSocket::OnRead()
{
SocketAddress remoteAddr;
CSocketAddress remoteAddr;
PS_RESULT res=PreAccept(remoteAddr);
if (res==PS_OK)