Lsman11, try moving your variable declarations to outside the while loop:
stConnection stConnectionBuffer2; //Buffer For Incoming Datachar szPacketBuffer2[32768];stConnection connectPacket2;while(1){...
Dire Wolf
www.digitalfiends.com
stConnection stConnectionBuffer2; //Buffer For Incoming Datachar szPacketBuffer2[32768];stConnection connectPacket2;while(1){...