By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
464,282 Members | 1,169 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 464,282 IT Pros & Developers. It's quick & easy.

Sockets help: Client for an already existing Server

jlm699
100+
P: 314
**I was unable to find any previous posts about this so please forgive me if I did not search hard enough.**

Ok, so I'm developing a client for a server that has already been established and set-up. This server is written using C, and the client that I'm developing needs to be written in Python. Does this fact alone cause a problem? I've already got the framework for the client application laid out, which connects and sends no problem. I have no way of testing what exactly is going wrong however as when I do a receive my program just hangs forever.

Is this because of the fact that the server is not written in the same language as the client? I was hoping to avoid using python wrappers for a C client but if that is what it comes down to then I guess I have no choice.

Thank you in advance for any advice you could pass along.
Aug 6 '07 #1
Share this Question
Share on Google+
2 Replies

Thekid
100+
P: 145
**I was unable to find any previous posts about this so please forgive me if I did not search hard enough.**

Ok, so I'm developing a client for a server that has already been established and set-up. This server is written using C, and the client that I'm developing needs to be written in Python. Does this fact alone cause a problem? I've already got the framework for the client application laid out, which connects and sends no problem. I have no way of testing what exactly is going wrong however as when I do a receive my program just hangs forever.

Is this because of the fact that the server is not written in the same language as the client? I was hoping to avoid using python wrappers for a C client but if that is what it comes down to then I guess I have no choice.

Thank you in advance for any advice you could pass along.
Can you post your code to be viewed?
Aug 7 '07 #2

jlm699
100+
P: 314
Actually it started working .. and I don't even know what I changed! So I guess it's not a problem at all to have a C server exchange socket data with a Python Client, sweet!
Aug 9 '07 #3

Post your reply

Sign in to post your reply or Sign up for a free account.