473,382 Members | 1,392 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

Debugging/Networking ?s.

I am having a little bit of trouble figuring out what to do about a
problem that I am having with the program I am working with.

I had it working yesterday, and up through till this morning. I hadn't
thought about putting it in version control until now, so whatever it
was I did, I can't just hit a revert button... that'll teach me. :-)

Anyway, it opens a socket, and is capable of fetching the first output
from it and displaying it in the TextCtrl that it is using. It also
says that it is successfully sending what is typed, be it an alias for
something else, or a straight command that needs to be sent. However,
after the initial text is received, it says that it doesn't receive anymore.

I would believe that, if I could duplicate it with a known working
program (such as telnet)... but, I can't. The server that I am working
with is working perfectly fine -- e.g., it is replying just as it should
be. However, it is also not detecting any problem with the socket,
either. :-/

The code is at http://fd0man.theunixplace.org/Tmud.tar.gz and if someone
could give me some insight as to what I might be doing wrong in
PlayWindow.py, method CheckAndProcessGameOutput, that would be
wonderfully appreciated. I am out of ideas, myself. It never comes up
with error, and never says that the socket is ready, either (using
select.select()).

Beware that the code isn't likely to be very pretty -- I am not an
experienced programmer. Even some of the ideas I got from the ANSI
thread are likely to look not so pretty, because I probably mangled a
lot of that, too, though, it *was* working. The only thing that
irritates me is that the changes I have been working on today have all
been in the SendOut method in PlayWindow.py, which should have no
bearing on CheckAndProcessGameOutput, so I don't know what really caused
it to stop working.

Thanks in advance for any assistance!

-- Mike
Oct 26 '06 #1
0 733

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: jon morgan | last post by:
Hi, I need to debug my app. under Windows 98. Although VS.net can't be installed it I have been able to install both Framework 1.1 and the SDK. Can I debug the app. in VS.net remotely from an...
7
by: Brian Keogh | last post by:
Hi, I'm a student learning TCP/IP networking at University. Although I understand all about TCP/IP Networking in Java I am expected to understand the basics of C with regard to these programs as...
46
by: H.A. Sujith | last post by:
Why doesn't the standard library provide (at least basic) networking facilities using TCP/IP ?
1
by: chinaemerem ibeawuchi | last post by:
What is the difference between URL networking and Socket networking? with an example of each type and state why the choosen networking technique is most appropriate for the example.
6
by: Jeff | last post by:
I understand there's socket / recursive calls here, but this is a C question, really it is: Here's the code block in question: #if defined(__GLIBC__) { struct hostent hent; char hbf;...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.