socket vs streamwriter

Started by
0 comments, last by benryves 14 years, 12 months ago
I'm programming sockets in C# and i would like to know what the differences are between the socket class and the streamwriter class. Especially for multithreading and game development. Which one would you choose and why?
Advertisement
I'm not sure what you're asking. StreamWriter is a class that helps you to write data to an underlying stream (which may be a file on disk, a stream in memory, a network stream etc) and Socket is a class that allows you to transfer bytes over a network; I don't know you can really compare the two.

[Website] [+++ Divide By Cucumber Error. Please Reinstall Universe And Reboot +++]

This topic is closed to new replies.

Advertisement