Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Post
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
2
Reply
Need some help in socket programming
aadasd asdasda
Jan 9 2010 1:27 PM
2.8k
Reply
I'm trying to write a simple multiplayer game
IPEndPoint
IPEP =
new
IPEndPoint
(
IPAddress
.Any, 4001);
Sunucu =
new
Socket
(
AddressFamily
.InterNetwork,
SocketType
.Stream,
ProtocolType
.Tcp);
Sunucu.Bind(ipE);
Sunucu.Listen(5);
Socket
Musterisoketi =
Sunucu.Accept();
I create server with these codes, use Musterisoketi.Receive(bytedata) code. This code works and receives data from client but Musterisoketi.Send(bytedata) does not works. I can receive data from client but can not send data from server. How can i solve this problem? If you have some applications that using similiar codes can you send it to me for inspiring?
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
2
)
Next Recommended Forum
onmouse over gridview hilight
Read XML document Like LN1, FN1, L1, P1 HELP!!!!!!!!!!