Click here to Skip to main content
15,881,852 members
Home / Discussions / Linux, Apache, MySQL, PHP
   

Linux, Apache, MySQL, PHP

 
GeneralRe: Comments postings on websites - need help pls... Pin
shamly17-Jan-11 5:14
shamly17-Jan-11 5:14 
AnswerRe: Comments postings on websites - need help pls... Pin
effayqueue19-Mar-11 2:48
effayqueue19-Mar-11 2:48 
QuestionHelp running php scripts locally and/or conversion to executable format Pin
ldsdbomber14-Jan-11 1:34
ldsdbomber14-Jan-11 1:34 
AnswerRe: Help running php scripts locally and/or conversion to executable format Pin
cjoki14-Jan-11 4:40
cjoki14-Jan-11 4:40 
QuestionSear Engines (Google search / Yahoo Search ) Pin
bdesi13-Jan-11 21:54
bdesi13-Jan-11 21:54 
AnswerRe: Sear Engines (Google search / Yahoo Search ) Pin
Gerben Jongerius14-Jan-11 2:51
Gerben Jongerius14-Jan-11 2:51 
AnswerRe: Sear Engines (Google search / Yahoo Search ) Pin
skqi9-Feb-11 0:25
skqi9-Feb-11 0:25 
Questionsockets and servers for game hosting Pin
shahab9612-Jan-11 17:14
shahab9612-Jan-11 17:14 
Hello again everybody. I'm making a network game at the request of a friend of mine and I've run into some trouble. the thing is, in the game-cafe all the computers are networked and i need to send data from one PC to the other. I came onto the solution of using sockets for this, but now I'm in a bit of a complex situation. I need to create the classes for the host computer and the client computer. the client asks for a game while the host listens for connections and accepts them. the problem's are:-

1) When i read the python docs it said that the function socket.bind(address) binds the socket to an address. Is that address on the socket's host or on the client PC?

2) While the socket is listening for connections using the socket.listen(backlog) function, how will it know which connection is from the client PC, so that it can accept that connection?

3) The stupid problem....how exactly do I check the entire network for hosts that are currently listening for connections?

I would be REALLY thankful to anyone who can clear this up for me.
QuestionRe: sockets and servers for game hosting Pin
Murlakatamus21-Jan-11 21:30
Murlakatamus21-Jan-11 21:30 
AnswerRe: sockets and servers for game hosting Pin
shahab9621-Jan-11 22:15
shahab9621-Jan-11 22:15 
AnswerRe: sockets and servers for game hosting Pin
etkid8425-Aug-11 3:47
etkid8425-Aug-11 3:47 
GeneralRe: sockets and servers for game hosting Pin
shahab9625-Aug-11 13:25
shahab9625-Aug-11 13:25 
QuestionCookies Pin
SRJ9210-Jan-11 15:44
SRJ9210-Jan-11 15:44 
AnswerRe: Cookies Pin
Luc Pattyn10-Jan-11 17:59
sitebuilderLuc Pattyn10-Jan-11 17:59 
Questionpython just for fun Pin
shahab9610-Jan-11 5:04
shahab9610-Jan-11 5:04 
JokeRe: python just for fun Pin
BC3Tech11-Jan-11 3:11
BC3Tech11-Jan-11 3:11 
JokeRe: python just for fun Pin
grgran11-Jan-11 5:38
grgran11-Jan-11 5:38 
GeneralRe: python just for fun Pin
shahab9612-Jan-11 4:42
shahab9612-Jan-11 4:42 
GeneralRe: python just for fun Pin
HimanshuJoshi12-Jan-11 17:12
HimanshuJoshi12-Jan-11 17:12 
AnswerRe: python just for fun Pin
Sterling Camden / independent consultant11-Jan-11 4:48
Sterling Camden / independent consultant11-Jan-11 4:48 
GeneralRe: python just for fun Pin
shahab9612-Jan-11 4:44
shahab9612-Jan-11 4:44 
GeneralRe: python just for fun Pin
cjoki12-Jan-11 4:47
cjoki12-Jan-11 4:47 
GeneralRe: python just for fun Pin
shahab9612-Jan-11 17:01
shahab9612-Jan-11 17:01 
AnswerRe: python just for fun Pin
HimanshuJoshi12-Jan-11 17:15
HimanshuJoshi12-Jan-11 17:15 
Questiondynamic dropdown list Pin
komanche9-Jan-11 23:53
komanche9-Jan-11 23:53 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.