<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">netrek-dev,<div class=""><br class=""></div><div class="">I’m working on a Swift Netrek client for the Mac. I’m having trouble getting through the login sequence.<div class=""><br class=""></div><div class=""><div class=""><font face="Courier" class="">I’m using netrek-server-vanilla netrek-server-vanilla-2.19.0 with no active players as a test target. In my packet traces below the server is at 192.168.0.10.</font></div></div><div class=""><font face="Courier" class=""><br class=""></font></div><div class=""><font face="Courier" class="">I’m able to successfully play on my test server with the MacTrek client.</font></div><div class=""><font face="Courier" class=""><br class=""></font></div><div class=""><font face="Courier" class=""><div class=""><font face="Courier" class="">Here’s a count of the packets I’ve been able to send/receive and process (not in order):</font></div><div class=""><font face="Courier" class=""><br class=""></font></div><div class=""><div class="" style="margin: 0px; font-stretch: normal; line-height: normal;"><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> 31 "Received SP_FLAGS"</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> 32 "Received SP_HOSTILE"</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> 32 "Received SP_KILLS"</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> 1 "Received SP_LOGIN"</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> 40 "Received SP_PLANET_LOC"</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> 32 "Received SP_PLAYER"</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> 52 "Received SP_PLAYER_INFO"</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> 32 "Received SP_PL_LOGIN"</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> 32 "Received SP_PSTATUS"</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> 1 "Received SP_YOU"</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> 1 "Sending CP_FEATURE 60"</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> 1 "Sending CP_LOGIN 8"</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> 1 "Sending CP_OUTFIT 9"</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> 1 "Sending CP_SOCKET 27"</span></div></div></div><div class=""><span class="" style="font-variant-ligatures: no-common-ligatures;"><font face="Courier" class=""><br class=""></font></span></div><div class=""><span class="" style="font-variant-ligatures: no-common-ligatures;"><font face="Courier" class="">Here’s the end of the sequence:</font></span></div><div class=""><span class="" style="font-variant-ligatures: no-common-ligatures;"><font face="Courier" class=""><br class=""></font></span></div><div class=""><span class="" style="font-variant-ligatures: no-common-ligatures;"><font face="Courier" class="">...</font></span></div><div class=""><span class="" style="font-variant-ligatures: no-common-ligatures;"><div class="" style="font-family: Helvetica; margin: 0px; font-stretch: normal; line-height: normal;"><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><b class="">"Received SP_LOGIN"</b></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><b class="">"Sending CP_FEATURE 60"</b></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><b class="">"Sending CP_OUTFIT 9"</b></div><div class=""><b class=""><br class=""></b></div></div><div class="" style="font-family: Helvetica;"><span class="" style="font-variant-ligatures: no-common-ligatures;"><font face="Courier" class="">No response to CP_OUTFIT.</font></span></div><div class="" style="font-family: Helvetica;"><span class="" style="font-variant-ligatures: no-common-ligatures;"><font face="Courier" class="">The server logs an inability to do a DNS reverse lookup on 192.168.0.31, but I don’t think that is related (and it doesn’t stop the MacTrek Objective-C client from playing).</font></span></div><div class="" style="font-family: Helvetica;"><span class="" style="font-variant-ligatures: no-common-ligatures;"><font face="Courier" class=""><br class=""></font></span></div><div class="" style="font-family: Helvetica;"><span class="" style="font-variant-ligatures: no-common-ligatures;"><font face="Courier" class="">I presume that something is wrong with my CP_OUTFIT or CP_LOGIN, or that some other packet is required to login on the server.</font></span></div><div class="" style="font-family: Helvetica;"><span class="" style="font-variant-ligatures: no-common-ligatures;"><font face="Courier" class=""><br class=""></font></span></div><div class="" style="font-family: Helvetica;"><span class="" style="font-variant-ligatures: no-common-ligatures;"><font face="Courier" class="">Here’s my CP_FEATURE:</font></span></div><div class="" style="font-family: Helvetica;"><span class="" style="font-variant-ligatures: no-common-ligatures;"><font face="Courier" class=""><br class=""></font></span></div><div class="" style="font-family: Helvetica;"><span class="" style="font-variant-ligatures: no-common-ligatures;"><font face="Courier" class=""><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">12:46:33.444140 IP 192.168.0.31.62943 > 192.168.0.10.netrek: Flags [P.], seq 61:149, ack 5873, win 2048, options [nop,nop,TS val 516594040 ecr 1657847922], length 88</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><span class="Apple-tab-span" style="white-space:pre"> </span>0x0000: 685b 3589 0a04 1410 9fd7 77b1 0800 4500</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><span class="Apple-tab-span" style="white-space:pre"> </span>0x0010: 008c 0000 4000 4006 b8f2 c0a8 001f c0a8</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><span class="Apple-tab-span" style="white-space:pre"> </span>0x0020: 000a f5df 0a20 187e d37b 87ce 7c2f 8018</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><span class="Apple-tab-span" style="white-space:pre"> </span>0x0030: 0800 96e5 0000 0101 080a 1eca 9978 62d0</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><span class="Apple-tab-span" style="white-space:pre"> </span>0x0040: c072 3c53 0000 0000 0001 4645 4154 5552</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><span class="Apple-tab-span" style="white-space:pre"> </span>0x0050: 455f 5041 434b 4554 5300 0000 0000 0000</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><span class="Apple-tab-span" style="white-space:pre"> </span>0x0060: 0000 0000 0000 0000 0000 0000 0000 0000</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><span class="Apple-tab-span" style="white-space:pre"> </span>0x0070: 0000 0000 0000 0000 0000 0000 0000 0000</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><span class="Apple-tab-span" style="white-space:pre"> </span>0x0080: 0000 0000 0000 0000 0000 0000 0000 0000</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><span class="Apple-tab-span" style="white-space:pre"> </span>0x0090: 0000 0000 0000 0000 0000</span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><div class="" style="margin: 0px; font-stretch: normal; line-height: normal;"><font face="Courier" class="">Here’s a packet dump of a MacTrek CP_FEATURE packet. Mine looks correct.</font></div><div class="" style="margin: 0px; font-stretch: normal; line-height: normal;"><font face="Courier" class=""><br class=""></font></div><div class="" style="margin: 0px; font-stretch: normal; line-height: normal;"><font face="Courier" class=""><div class="" style="margin: 0px; font-stretch: normal; line-height: normal;">08:29:02.233675 IP 192.168.0.31.60481 > 192.168.0.10.netrek: Flags [P.], seq 9:97, ack 1, win 2058, options [nop,nop,TS val 501230260 ecr 1642419149], length 88</div><div class="" style="margin: 0px; font-stretch: normal; line-height: normal;"><span class="Apple-tab-span" style="white-space: pre;"> </span>0x0000: 685b 3589 0a04 1410 9fd7 77b1 0800 4500</div><div class="" style="margin: 0px; font-stretch: normal; line-height: normal;"><span class="Apple-tab-span" style="white-space: pre;"> </span>0x0010: 008c 0000 4000 4006 b8f2 c0a8 001f c0a8</div><div class="" style="margin: 0px; font-stretch: normal; line-height: normal;"><span class="Apple-tab-span" style="white-space: pre;"> </span>0x0020: 000a ec41 0a20 47c9 bead f710 babe 8018</div><div class="" style="margin: 0px; font-stretch: normal; line-height: normal;"><span class="Apple-tab-span" style="white-space: pre;"> </span>0x0030: 080a b569 0000 0101 080a 1de0 2ab4 61e5</div><div class="" style="margin: 0px; font-stretch: normal; line-height: normal;"><span class="Apple-tab-span" style="white-space: pre;"> </span>0x0040: 53cd 3c53 0000 0000 0001 4645 4154 5552</div><div class="" style="margin: 0px; font-stretch: normal; line-height: normal;"><span class="Apple-tab-span" style="white-space: pre;"> </span>0x0050: 455f 5041 434b 4554 5300 0000 0000 0000</div><div class="" style="margin: 0px; font-stretch: normal; line-height: normal;"><span class="Apple-tab-span" style="white-space: pre;"> </span>0x0060: 0000 0000 0000 0000 0000 0000 0000 0000</div><div class="" style="margin: 0px; font-stretch: normal; line-height: normal;"><span class="Apple-tab-span" style="white-space: pre;"> </span>0x0070: 0000 0000 0000 0000 0000 0000 0000 0000</div><div class="" style="margin: 0px; font-stretch: normal; line-height: normal;"><span class="Apple-tab-span" style="white-space: pre;"> </span>0x0080: 0000 0000 0000 0000 0000 0000 0000 0000</div><div class="" style="margin: 0px; font-stretch: normal; line-height: normal;"><span class="Apple-tab-span" style="white-space: pre;"> </span>0x0090: 0000 0000 0000 0000 0000</div><div class=""><br class=""></div></font></div></span></div></font></span></div><div class="">For reference here’s reference information on that structure:</div><div class=""><br class=""></div><div class=""><div class="" style="margin: 0px; font-stretch: normal; line-height: normal;"><span class="" style="font-variant-ligatures: no-common-ligatures;">#define CP_FEATURE 60</span></div><div class=""><span class="" style="font-variant-ligatures: no-common-ligatures;"><br class=""></span></div><div class=""><span class="" style="font-variant-ligatures: no-common-ligatures;"><div class="" style="font-family: Helvetica; margin: 0px; font-stretch: normal; line-height: normal;"><span class="" style="font-variant-ligatures: no-common-ligatures;"><font face="Courier" class="">struct feature_cpacket { /* CP_FEATURE py-struct "!bcbbi80s" #60 */</font></span></div><div class="" style="font-family: Helvetica; margin: 0px; font-stretch: normal; line-height: normal;"><span class="" style="font-variant-ligatures: no-common-ligatures;"><font face="Courier" class=""> char type;</font></span></div><div class="" style="font-family: Helvetica; margin: 0px; font-stretch: normal; line-height: normal;"><span class="" style="font-variant-ligatures: no-common-ligatures;"><font face="Courier" class=""> char feature_type; /* either 'C' or 'S' */</font></span></div><div class="" style="font-family: Helvetica; margin: 0px; font-stretch: normal; line-height: normal;"><span class="" style="font-variant-ligatures: no-common-ligatures;"><font face="Courier" class=""> char arg1,</font></span></div><div class="" style="font-family: Helvetica; margin: 0px; font-stretch: normal; line-height: normal;"><span class="" style="font-variant-ligatures: no-common-ligatures;"><font face="Courier" class=""> arg2;</font></span></div><div class="" style="font-family: Helvetica; margin: 0px; font-stretch: normal; line-height: normal;"><span class="" style="font-variant-ligatures: no-common-ligatures;"><font face="Courier" class=""> int value;</font></span></div><div class="" style="font-family: Helvetica; margin: 0px; font-stretch: normal; line-height: normal;"><span class="" style="font-variant-ligatures: no-common-ligatures;"><font face="Courier" class=""> char name[80];</font></span></div><div class="" style="font-family: Helvetica; margin: 0px; font-stretch: normal; line-height: normal;"><span class="" style="font-variant-ligatures: no-common-ligatures;"><font face="Courier" class="">};</font></span></div><div class=""><span class="" style="font-variant-ligatures: no-common-ligatures;"><font face="Courier" class=""><br class=""></font></span></div><div class=""><span class="" style="font-variant-ligatures: no-common-ligatures;"><font face="Courier" class=""><pre class="" style="word-wrap: break-word; white-space: pre-wrap;">struct feature_var feature_vars[] = {
{"FEATURE_PACKETS", &F_client_feature_packets, NULL},</pre><pre class="" style="word-wrap: break-word; white-space: pre-wrap;"><br class=""></pre><pre class="" style="word-wrap: break-word; white-space: pre-wrap;">Here’s my CP_OUTFIT when I try to login as fed (I also tried setting team to 0 at 0x0044 since that is what MacTrek appears to do).</pre><pre class="" style="word-wrap: break-word; white-space: pre-wrap;"><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">12:46:34.381240 IP 192.168.0.31.62943 > 192.168.0.10.netrek: Flags [P.], seq 149:153, ack 5873, win 2048, options [nop,nop,TS val 516594969 ecr 1657848989], length 4</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><span class="Apple-tab-span" style="white-space:pre"> </span>0x0000: 685b 3589 0a04 1410 9fd7 77b1 0800 4500</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><span class="Apple-tab-span" style="white-space:pre"> </span>0x0010: 0038 0000 4000 4006 b946 c0a8 001f c0a8</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><span class="Apple-tab-span" style="white-space:pre"> </span>0x0020: 000a f5df 0a20 187e d3d3 87ce 7c2f 8018</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><span class="Apple-tab-span" style="white-space:pre"> </span>0x0030: 0800 0e95 0000 0101 080a 1eca 9d19 62d0</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><span class="Apple-tab-span" style="white-space:pre"> </span>0x0040: c49d 0901 0200</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Here’s info on that struct:</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><br class=""></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">#define CP_OUTFIT<span class="Apple-tab-span" style="white-space:pre"> </span>9<span class="Apple-tab-span" style="white-space:pre"> </span>/* outfit to new ship */</span></div>
</div></span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">struct outfit_cpacket { /* CP_OUTFIT py-struct "!bbbx" #9 */</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> char type;</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> char team;</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> char ship;</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> char pad1;</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">};</span></div>
</div></span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class="">Could the problem be with my earlier packets? They got responses. But here they are for completeness:</div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><br class=""></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class="">CP_SOCKET: (note that my client does not support UDP)</div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><br class=""></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">11:46:12.530856 IP 192.168.0.31.62508 > 192.168.0.10.netrek: Flags [P.], seq 1:9, ack 1, win 2058, options [nop,nop,TS val 512991468 ecr 1654229963], length 8</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><span class="Apple-tab-span" style="white-space:pre"> </span>0x0000: 685b 3589 0a04 1410 9fd7 77b1 0800 4500</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><span class="Apple-tab-span" style="white-space:pre"> </span>0x0010: 003c 0000 4000 4006 b942 c0a8 001f c0a8</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><span class="Apple-tab-span" style="white-space:pre"> </span>0x0020: 000a f42c 0a20 c97b 28a2 549c ed30 8018</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><span class="Apple-tab-span" style="white-space:pre"> </span>0x0030: 080a 67e8 0000 0101 080a 1e93 a0ec 6299</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><span class="Apple-tab-span" style="white-space:pre"> </span>0x0040: 8bcb 1b04 0a00 0000 8020</span></div>
</div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">#define CP_SOCKET<span class="Apple-tab-span" style="white-space:pre"> </span>27<span class="Apple-tab-span" style="white-space:pre"> </span>/* new socket for reconnection */</span></div>
</div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">struct socket_cpacket { /* CP_SOCKET py-struct "!bbbxI" #27 */</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> char type;</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> char version;</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> char udp_version;<span class="Apple-tab-span" style="white-space:pre"> </span>/* was pad2 */</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> char pad3;</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> u_int socket;</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">};</span></div>
</div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><br class=""></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class="">CP_LOGIN: (hardcoded to guest as the username, password and login empty)</div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><br class=""></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">11:46:13.591234 IP 192.168.0.31.62508 > 192.168.0.10.netrek: Flags [P.], seq 9:61, ack 5769, win 2048, options [nop,nop,TS val 512992524 ecr 1654231039], length 52</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><span class="Apple-tab-span" style="white-space:pre"> </span>0x0000: 685b 3589 0a04 1410 9fd7 77b1 0800 4500</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><span class="Apple-tab-span" style="white-space:pre"> </span>0x0010: 0068 0000 4000 4006 b916 c0a8 001f c0a8</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><span class="Apple-tab-span" style="white-space:pre"> </span>0x0020: 000a f42c 0a20 c97b 28aa 549d 03b8 8018</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><span class="Apple-tab-span" style="white-space:pre"> </span>0x0030: 0800 a51c 0000 0101 080a 1e93 a50c 6299</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><span class="Apple-tab-span" style="white-space:pre"> </span>0x0040: 8fff 0801 0000 6775 6573 7400 0000 0000</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><span class="Apple-tab-span" style="white-space:pre"> </span>0x0050: 0000 0000 0000 0000 0000 0000 0000 0000</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><span class="Apple-tab-span" style="white-space:pre"> </span>0x0060: 0000 0000 0000 0000 0000 0000 0000 0000</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><span class="Apple-tab-span" style="white-space:pre"> </span>0x0070: 0000 0000 0000</span></div>
</div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">struct login_cpacket { /* CP_LOGIN py-struct '!bbxx16s16s16s' #8 */</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> char type;</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> char query;</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> char pad2;</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> char pad3;</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> char name[NAME_LEN];</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> char password[NAME_LEN];</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> char login[NAME_LEN];</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">};</span></div>
</div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><br class=""></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class="">Any ideas what I need to correct or what else I need to supply to successfully login as guest?</div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><br class=""></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class="">Darrell</div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><br class=""></div></pre></font></span></div></span></div></div></span></div></font></div><div class=""><font face="Courier" class=""><br class=""></font></div></div></body></html>