472,126 Members | 1,523 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

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

Sockets help: Client for an already existing Server

jlm699
314 100+
**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
2 931
Thekid
145 100+
**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
314 100+
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.

Similar topics

1 post views Thread by Johannes Eble | last post: by
2 posts views Thread by Luke Balding | last post: by
1 post views Thread by Adam Clauss | last post: by
2 posts views Thread by jasonsgeiger | last post: by
10 posts views Thread by David | last post: by
1 post views Thread by larspeter | last post: by

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.