Trace file format ?

Discussion about the SocketWrench Standard Edition control and library.

Moderator: Catalyst

Trace file format ?

Postby Dave Reid » Tue Jan 12, 2010 10:39 am

I'm looking at the content of my app's trace file, and I can't see in the Help what some of the numbers mean.

For example, here are a couple of lines:

PACKETVIEWER 123125 0000 WRN: connect(568, 192.168.0.1:3000, 16) returned -1 [10035]
PACKETVIEWER 123151 25844 WRN: connect(560, 192.168.0.1:3000, 16) returned -1 [10035]

I recognise the name of my app, obviously, then I assume the next numbers 123125/123151 are hhmmss timestamps, but what do 0000 and 25844 represent ? I know WRN means Warning, but what are the the first numbers after the Connect (568 and 560) ?

MTIA
Dave Reid
Reading, UK
Dave Reid
New Member
 
Posts: 7
Joined: Sat Jan 02, 2010 9:36 am

Re: Trace file format ?

Postby Technical Support » Tue Jan 12, 2010 11:02 am

The numbers after the timestamp is a delta time in milliseconds (the elapsed time between function calls). The values after "connect" are the parameters that have been passed to that function; the first is the socket handle, the second is the IP address and port number, the third is a structure size value that's used internally. The number in brackets is an error code value. In this case, it's perfectly normal to see 10035, which is simply a warning, telling us that the connection couldn't complete immediately, so we need to wait for it to complete.
Technical Support
Knowledge Base | FAQs | Online Help
Technical Support
Catalyst
 
Posts: 2288
Joined: Mon Dec 27, 2004 3:38 am
Location: California


Return to SocketWrench Standard Edition

Who is online

Users browsing this forum: No registered users and 2 guests

cron