Update crawsocket.cpp

Not sure if the buffer needs to be 64k, but 1k will occasionally cause a crash.
pull/171/head
Tom Early 5 years ago committed by GitHub
parent c14a2e4704
commit 1647c7bd7c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -92,7 +92,7 @@ int CRawSocket::Receive(CBuffer *Buffer, CIp *Ip, int timeout)
if ( m_Socket != -1 )
{
// allocate buffer
Buffer->resize(UDP_BUFFER_LENMAX);
Buffer->resize(RAW_BUFFER_LENMAX);
// control socket
FD_ZERO(&FdSet);

Loading…
Cancel
Save

Powered by TurnKey Linux.