Message-ID: <3A68C971.10806@operamail.com> From: Sahab Yazdani Organization: PheonixSoft Interactive User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; m18) Gecko/20010107 X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: Libsocket problem.... Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Lines: 31 Date: Fri, 19 Jan 2001 18:10:41 -0500 NNTP-Posting-Host: 149.99.20.165 X-Complaints-To: abuse AT sprint DOT ca X-Trace: newscontent-01.sprint.ca 979946088 149.99.20.165 (Fri, 19 Jan 2001 18:14:48 EST) NNTP-Posting-Date: Fri, 19 Jan 2001 18:14:48 EST To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com I think I may have found a potential bug in Libsocket... I am using 0.8.0 on Win98, but that isn't really the point right now. I have this code (psedoed for now): switch (ch) { case 'd': SendHeader(); SendData(); break; case 'c': // THis is *exactly* (cut and pasted) the same as 'd' SendHeader(); SendData(); break; } Now the problem is that when 'd' gets pressed, the thing works fine, but when 'c' is pressed the program crashes both the server and the client. anyways thanks for anyhelp you may provide -- *********************************************************** * Sahab Yazdani * "Wizard's Third Rule: Passion rules * * Thornhill S.S * Reason." - Kolo's Journal * *********************************************************** * http://pheonixsoft.virtualave.net/ * ***********************************************************