¡@

Home 

c# Programming Glossary: protocoltype.tcp

How to config socket connect timeout in C#

http://stackoverflow.com/questions/1062035/how-to-config-socket-connect-timeout-in-c-sharp

new Socket AddressFamily.InterNetwork SocketType.Stream ProtocolType.Tcp IPAddress ip IPAddress.Parse serverIp int iPortNo System.Convert.ToInt16.. new Socket AddressFamily.InterNetwork SocketType.Stream ProtocolType.Tcp Connect using a timeout 5 seconds IAsyncResult result socket.BeginConnect..

Getting started with socket programming in C# - Best practices

http://stackoverflow.com/questions/1162950/getting-started-with-socket-programming-in-c-sharp-best-practices

new Socket endPoint.AddressFamily SocketType.Stream ProtocolType.Tcp serverSocket.Bind endPoint serverSocket.Listen 10 2 Receiving..

Using .Net 4.5 Async Feature for Socket Programming

http://stackoverflow.com/questions/12630827/using-net-4-5-async-feature-for-socket-programming

new Socket AddressFamily.InterNetwork SocketType.Stream ProtocolType.Tcp _socket.Bind new IPEndPoint IPAddress.Parse ip port _socket.Listen..

Request Web Page in c# spoofing the Host

http://stackoverflow.com/questions/359041/request-web-page-in-c-sharp-spoofing-the-host

80 socket new Socket ip.AddressFamily SocketType.Stream ProtocolType.Tcp socket.Connect ip catch SocketException ex Console.WriteLine..

C# : How to set test TCP connection timeout?

http://stackoverflow.com/questions/4583873/c-sharp-how-to-set-test-tcp-connection-timeout

new Socket AddressFamily.InterNetwork SocketType.Stream ProtocolType.Tcp socket.SetSocketOption SocketOptionLevel.Socket SocketOptionName.DontLinger..

Sockets in C#: How to get the response stream?

http://stackoverflow.com/questions/523930/sockets-in-c-how-to-get-the-response-stream

1 socket new Socket ip.AddressFamily SocketType.Stream ProtocolType.Tcp socket.Connect ip BEGIN NEW CODE Encoding ASCII Encoding.ASCII.. var socket new Socket ip.AddressFamily SocketType.Stream ProtocolType.Tcp socket.Connect ip using var n new NetworkStream socket SendRequest..

How to check internet connection with .NET, C#, WPF

http://stackoverflow.com/questions/5405895/how-to-check-internet-connection-with-net-c-wpf

new Socket AddressFamily.InterNetwork SocketType.Stream ProtocolType.Tcp try IAsyncResult result socket.BeginConnect localhost myfolder..

Socket is not working as it should help!

http://stackoverflow.com/questions/5527670/socket-is-not-working-as-it-should-help

mm new Socket AddressFamily.InterNetwork SocketType.Stream ProtocolType.Tcp IPEndPoint remoteEP new IPEndPoint IPAddress.Parse textBox1.Text.. mm new Socket AddressFamily.InterNetwork SocketType.Stream ProtocolType.Tcp mm.Bind new IPEndPoint 0 5002 mm.Listen 100 Socket acc mm.Accept..

How to split a large file into chunks in c#?

http://stackoverflow.com/questions/5659189/how-to-split-a-large-file-into-chunks-in-c

new Socket AddressFamily.InterNetwork SocketType.Stream ProtocolType.Tcp byte fileName Encoding.UTF8.GetBytes fName file name byte fileData..

Turning async socket Parallel and not only Concurrent in very intensive application using TPL

http://stackoverflow.com/questions/5834755/turning-async-socket-parallel-and-not-only-concurrent-in-very-intensive-applicat

new Socket AddressFamily.InterNetwork SocketType.Stream ProtocolType.Tcp skttool.Bind localEndPoint skttool.Listen _cfg.maxQtdSockets..

How can I tell if the connection has been broken in my sockets based client?

http://stackoverflow.com/questions/681866/how-can-i-tell-if-the-connection-has-been-broken-in-my-sockets-based-client

new Socket AddressFamily.InterNetwork SocketType.Stream ProtocolType.Tcp Assume there is a connection on the other end while socket.Connected..

Sending and receiving an image over sockets with C#

http://stackoverflow.com/questions/749964/sending-and-receiving-an-image-over-sockets-with-c-sharp

new Socket AddressFamily.InterNetwork SocketType.Stream ProtocolType.Tcp newsock.Bind ipep newsock.Listen 10 Console.WriteLine Waiting.. new Socket AddressFamily.InterNetwork SocketType.Stream ProtocolType.Tcp try server.Connect ipep catch SocketException e Console.WriteLine..

How to write a scalable Tcp/Ip based server

http://stackoverflow.com/questions/869744/how-to-write-a-scalable-tcp-ip-based-server

serverEndPoint.Address.AddressFamily SocketType.Stream ProtocolType.Tcp catch System.Net.Sockets.SocketException e throw new ApplicationException..