Click here to Skip to main content
15,354,816 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
Membershamly17-Jan-11 5:14 
AnswerRe: Comments postings on websites - need help pls... Pin
effayqueue19-Mar-11 2:48
Membereffayqueue19-Mar-11 2:48 
QuestionHelp running php scripts locally and/or conversion to executable format Pin
ldsdbomber14-Jan-11 1:34
Memberldsdbomber14-Jan-11 1:34 
AnswerRe: Help running php scripts locally and/or conversion to executable format Pin
cjoki14-Jan-11 4:40
Membercjoki14-Jan-11 4:40 
QuestionSear Engines (Google search / Yahoo Search ) Pin
bdesi13-Jan-11 21:54
Memberbdesi13-Jan-11 21:54 
AnswerRe: Sear Engines (Google search / Yahoo Search ) Pin
Gerben Jongerius14-Jan-11 2:51
MemberGerben Jongerius14-Jan-11 2:51 
AnswerRe: Sear Engines (Google search / Yahoo Search ) Pin
skqi9-Feb-11 0:25
Memberskqi9-Feb-11 0:25 
Questionsockets and servers for game hosting Pin
shahab9612-Jan-11 17:14
Membershahab9612-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
MemberMurlakatamus21-Jan-11 21:30 
AnswerRe: sockets and servers for game hosting Pin
shahab9621-Jan-11 22:15
Membershahab9621-Jan-11 22:15 
AnswerRe: sockets and servers for game hosting Pin
etkid8425-Aug-11 3:47
Memberetkid8425-Aug-11 3:47 
GeneralRe: sockets and servers for game hosting Pin
shahab9625-Aug-11 13:25
Membershahab9625-Aug-11 13:25 
QuestionCookies Pin
SRJ9210-Jan-11 15:44
MemberSRJ9210-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
Membershahab9610-Jan-11 5:04 
JokeRe: python just for fun Pin
BC3Tech11-Jan-11 3:11
MemberBC3Tech11-Jan-11 3:11 
JokeRe: python just for fun Pin
grgran11-Jan-11 5:38
Membergrgran11-Jan-11 5:38 
GeneralRe: python just for fun Pin
shahab9612-Jan-11 4:42
Membershahab9612-Jan-11 4:42 
GeneralRe: python just for fun Pin
HimanshuJoshi12-Jan-11 17:12
MemberHimanshuJoshi12-Jan-11 17:12 
AnswerRe: python just for fun Pin
Sterling Camden / independent consultant11-Jan-11 4:48
MemberSterling Camden / independent consultant11-Jan-11 4:48 
GeneralRe: python just for fun Pin
shahab9612-Jan-11 4:44
Membershahab9612-Jan-11 4:44 
GeneralRe: python just for fun Pin
cjoki12-Jan-11 4:47
Membercjoki12-Jan-11 4:47 
GeneralRe: python just for fun Pin
shahab9612-Jan-11 17:01
Membershahab9612-Jan-11 17:01 
AnswerRe: python just for fun Pin
HimanshuJoshi12-Jan-11 17:15
MemberHimanshuJoshi12-Jan-11 17:15 
Questiondynamic dropdown list Pin
komanche9-Jan-11 23:53
Memberkomanche9-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.