Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
Help
»
Network
»
Socket Receive and Send at the same time (Threads)
Print
Pages: [
1
]
Author
Topic: Socket Receive and Send at the same time (Threads) (Read 2948 times)
0 Members and 1 Guest are viewing this topic.
Blackspell
Newbie
Posts: 4
Socket Receive and Send at the same time (Threads)
«
on:
October 24, 2010, 01:08:57 am »
Is it possible to send and receive data on one socket(tcp) at the same time using two threads?
Logged
Laurent
Administrator
Hero Member
Posts: 32498
Socket Receive and Send at the same time (Threads)
«
Reply #1 on:
October 24, 2010, 10:32:21 am »
I don't think so.
Logged
Laurent Gomila - SFML developer
Blackspell
Newbie
Posts: 4
Socket Receive and Send at the same time (Threads)
«
Reply #2 on:
October 24, 2010, 11:09:35 am »
Ok thanks for the fast reply
Logged
Tank
SFML Team
Hero Member
Posts: 1486
Socket Receive and Send at the same time (Threads)
«
Reply #3 on:
October 24, 2010, 12:27:45 pm »
I don't think it should be a big problem. However, access to a socket in multi-threaded environments should be encapsulated in one thread to minimize the possibility of side effects.
Logged
Print
Pages: [
1
]
SFML community forums
»
Help
»
Network
»
Socket Receive and Send at the same time (Threads)
anything