The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Newsgroups: comp.lang.python
From: "Gabriel Genellina" <gagsl-...@yahoo.com.ar>
Date: Mon, 06 Jul 2009 03:10:25 -0300
Local: Mon, Jul 6 2009 2:10 am
Subject: Re: Help with Sockets.
En Sun, 05 Jul 2009 23:06:30 -0300, tanner barnes <tanner...@hotmail.com>
escribió: > I am writing a program and in one section there is going to be a lobby Like a chat room, IRC? > with (for testing purposes) about 4 people in it. in the lobby there are > two txtctrl's the first for entering your message and the second for > displaying the message you and the other people in the lobby type. i am > trying to figure out how to get all the text entrys from the users and > display them in the second one. For clarification and example of what i > want would be like yahoo or windows live messanger but for more than 2 > people. It's easy to do using a client-server architecture. Make all the clients connect to a central server. Any time someone writes some text, the client sends it to the server (but does not display it). The server just receives text from any client, and sends the received messages to all connected clients (including the one that sent it originally). Any book on socket programming will help; there are a few specific for Python. You may start with the "echo" example in the Python documentation. Make the networking part work first, then add the wx GUI if you want. -- You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||