You can't format packets in WinSock. WinSock is a higher level protocol.

Try searching the newsgroup database (maybe the old one on Topica), I
remember a thread where they discussed the format for sending commands to
the dedicated server using C. You could also try searching Yahoo for an open
source utility which does the same thing, many exist and from the code you
could see how the commands are formatted.

----- Original Message -----
From: "Dan Cox" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 01, 2003 11:50 AM
Subject: RE: [hlcoders] Sending commands to HLDS


> Looking for the packet format.  Looking to do some Winsock programming
> but completely lost the structure to send/receive about a year ago.
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]] On Behalf Of Nick McLaren
> Sent: Wednesday, January 01, 2003 1:20 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [hlcoders] Sending commands to HLDS
>
>
>
> The format of the packet or format of the data. The data is actually the
> same as the way the log entries show up in the local logs. You can also
> view raw logs via HLSW (www.hlsw.de) to see how it is received. As far
> as sending commands to HLDS I assume you mean either to retrieve status
> information about the server or via RCON which I'm certain you can
> either find an object for or use sockets. Of course I don't have the
> protocol data handy, so I guess I'm not a whole lot of help there! Hey,
> I tried! hehe! ;)
>
> ---------------------------
> Nick McLaren, CCNA, SCSA
> BattleLAN Technical Admin
> <[EMAIL PROTECTED]>
> http://www.battlelan.com/
> ---------------------------
>
> On Wed, 1 Jan 2003, Dan Cox wrote:
>
> > This is a multi-part message in MIME format.
> > --
> > [ Picked text/plain from multipart/alternative ]
> > Hello all,
> >    I used to have this info a few years ago but it's been lost since.
>
> > I need to know where to look in the SDK to find the info on how to
> > send commands to HLDS using Visual Basic or C.  I'd also like to find
> > the format that the data is sent when logging to a remote computer
> > using the 'logaddress' cvar.
> > _______________________________________________
> > To unsubscribe, edit your list preferences, or view the list archives,
>
> > please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
> >
>
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives,
> please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
>
>
>
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives,
please visit:
> http://list.valvesoftware.com/mailman/listinfo/hlcoders
>
>

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to