473,397 Members | 2,056 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,397 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 1017
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

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

Similar topics

1
by: Johannes Eble | last post by:
Hello Python community, I am trying the echo-client and echo-server examples in Chapter 10, "Programming Python" by Mark Lutz. It is probably the most simple sockets sample: A socket server just...
2
by: Luke Balding | last post by:
I'm toying with the idea of swaping out some of my C++ client and server socket programs with vb.net equivs. but I finding that the examples included in the msdn do not seem to interoperate with...
1
by: Adam Clauss | last post by:
I am (attempting) to move an existing socket application to use raw sockets. Right now, my application is essentially a port forwarder. Upon receiving a connection, it will open a connection to...
2
by: jasonsgeiger | last post by:
From: "Factor" <jasonsgeiger@gmail.com> Newsgroups: microsoft.public.in.csharp Subject: Multiple Clients, One port Date: Wed, 19 Apr 2006 09:36:02 -0700 I'm been working with sockets for a...
14
by: eliss.carmine | last post by:
I'm using TCP/IP to send a Bitmap object over Sockets. This is my first time using C# at all so I don't know if this is the "right" way to do it. I've already found out several times the way I was...
10
by: David | last post by:
I have googled to no avail on getting specifically what I'm looking for. I have found plenty of full blown apps that implement some type of file transfer but what I'm specifcally looking for is an...
1
by: larspeter | last post by:
Hi all. I have a problem with TcpClient ... I am conneting to a server with TcpClient and returning the answer through a webservice. It actully all works fine. BUT if I make a lot of...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.