40 Topics

Member Avatar for
Member Avatar for abhishek_s_n
Member Avatar for Sofiia
0
1K
Member Avatar for skatamatic

When working with TCP client sockets I often find myself frustrated with the lack of event-driven support. I usually end up writing a whole bunch of code to determine disconnects, reconnecting, etc and I figuired it's time to just write my own class for this stuff. I figuired I'd share …

Member Avatar for Alejandro_8
6
9K
Member Avatar for can-mohan

Hi All, I am looking for a design approach to implement TCP socket server which is going to serve requests based on multiple ports. (1) port1 : dedicated for video streaming (2) port 2: dedicated for audio streaming (3) port 3: dedicated for data streaming. In above scenario do i …

Member Avatar for rproffitt
0
552
Member Avatar for Suzie999

Hi all. I'm working on a client server application, eventually to be a POS (point of sale) system. The model is something like, client (till) does not have access to the database, instead it sends data to the server application, which in turn deals with the database and any other …

Member Avatar for pritaeas
0
366
Member Avatar for Xsmael

I am developing Client-Server application in C++ using Qt framework, but the clients can be android phones and computers(Qt client app) Now i'm having troubles to handle Reception of data on the server side; the server is not receiving data properly. First, I got things working nicely between the server(Qt …

0
356
Member Avatar for missil9

Hello, I am currently trying to use boost asio for IPC. I ran into 2 strange issues: 1) when using the acceptor class, when I bring my process up, I get the error 'Already open' when trying to listen. The port I am trying to bind to is definitely not …

Member Avatar for missil9
0
748
Member Avatar for Vaspar

Hello, I have made android application which provides remote desktop administration, I used port 5556 and socket programming TCP. I have to forward this port from router on every computer is there any other way so I can use some open port to communication with android device?? Like TeamViewer doesn't …

0
168
Member Avatar for perrytje

Hello! I'm trying to code a C# server for flash apps, and I'm currently working on a broadcast function. When flash clients connect to the server they are added to the connClients list (List<TcpClient>), and with the following function I send the stuff to my flash apps: [CODE] public void …

Member Avatar for Ketsuekiame
0
616
Member Avatar for ankit.4aug

Hello I want to know how windows TCP scaling works.I know it performs left shift operation but If we do that wont our data will be lost.

Member Avatar for L7Sqr
0
503
Member Avatar for desup

Hi, I need just simple help. Could you just give me a tip for some good TCP server/client library for Csharp? It should be easy to use, and can handle big data size. Because I was using a Netcomm library, and while sending Image bytes, It has god frozen. Thanks …

0
164
Member Avatar for cemal21

Hi, I am developing a critical program for a company. I am not cheking the data which come from socket because I am not using UDP on my program. But can someone tell me please if TCP is exactly %100 secure for data verification. Some cheking algortihms works propely but …

0
129
Member Avatar for ponnds

this is my server code i want to receive more than 1000000 bytes ,so the data should be splited into many packets so i use loop to receive all data ,if i use like this server always wait for client even client sent all data to server ,my messsage is …

Member Avatar for Banfa
0
2K
Member Avatar for marvelmind

Why a router does not have only one IP address (i.e. for itself). and why a unique IP address need to be associated with each interface? Whats the scenario which neccessiates each interface to have an IP addresses?(TCP IP)

Member Avatar for JorgeM
0
288
Member Avatar for ananth88

Hi, I just want to know which is the best way to transfer files between clients and server. My server is accessed from client through internet. I found some results after googled as using tcp/udp/ftp... So , i just want to know which one is best and why ? . …

Member Avatar for ananth88
0
828
Member Avatar for jaffi034

my professor provided us with the java program so we could each compile it and run it on our computers. heres what i get: socketProgramming$ java TCPServer <--------name of program - TCP Server program started. - Server welcoming at port #: 6789 im trying to connect to my professors terminal …

Member Avatar for skilly
-1
240
Member Avatar for srinivas88

In a client server program ... generally when the server goes down the client on executing the send command 2 times returns a SIGPIPE signal . I want to know y this happens. The client must recieve sigpipe immediately when it sends a message after the socket connection is broken …

Member Avatar for srinivas88
0
374
Member Avatar for noorf

Hi everyone :) This is one of my first programs using C, so I am facing some issues. our professer asked us to develop a TCP socket (client/server) where the client sends lets say an ID,Name or Major and the server searches into a txt file and returns the line(s) …

Member Avatar for Trentacle
0
260
Member Avatar for thatscrap12543

Hi, networking is new to me in vb.net as I normally use third party components to do my networking like Winsock Orcas. However I want to make my own classes for networking. The following is what I have so far. It has problems. 1) Its disorganized...particularly the way I'm multi-threading, …

0
166
Member Avatar for ultimo1

Hi, as part of my project, i need to write code that actually implements the tcp layer functions. Could anyone tell me where i could get some idea on how to code the functions of tcp layer (i.e. I need to manage the transfer of data between the network and …

Member Avatar for L7Sqr
0
200
Member Avatar for llemes4011

Hi all, I'm working on a C++ app that needs to communicate with a server. I was wondering if it would be possible to use Java for the Server, and C++ for the Client. I'm assuming it should work (without the use of JNI) because TCP packets are TCP packets, …

Member Avatar for llemes4011
0
253
Member Avatar for exicar

Hello, I´m currently developing an application which sends data to my Windows server. I already wrote the following code (server-side) [CODE]namespace server { public partial class MainWindow : Window { public MainWindow() { InitializeComponent(); Server s = new Server(3000); s.ExceptionReceived += new Server.ExceptionReceivedHandler(s_ExceptionReceived); } void s_ExceptionReceived(exception e) { MessageBox.Show(string.Format("DateTime: {0} …

Member Avatar for exicar
0
342
Member Avatar for knan

A service running in the Server is listening to port 2978 on 1xx.xxx.xx.xx for incoming connections! My PHP code receives URL data through get method. A tcp connection has to be established with the 'service' on that port and the data received from the URL should be sent to the …

Member Avatar for edwinhermann
0
278
Member Avatar for rootchord

I am learning about networking in C# and to do so i am making a simple instant message server/client app. everything is going fine. i am currently testing it by inputting my own ip address as the target to send/receive on same machine. but, i can only send one message …

Member Avatar for samueal
0
977
Member Avatar for kutuup

I've trawled the internet searchiing for an explaination on how to do this. I'm working on an assignment and we are told to "transmit a whole object to the server". As far as I know, the send function of winsock2 only allows you to send data of type char, so …

Member Avatar for kutuup
0
484
Member Avatar for nemzmiyaw

i cant connect to my tcp server here is the partial code of my server [CODE]Public Sub New() InitializeComponent() server = New TcpServer(9988) clientCollection = New List(Of System.Net.Sockets.TcpClient)() End Sub[/CODE] and here is for the client [CODE]Try 'connect Dim hostname As String = "127.0.0.1" Dim port As Integer = 9988 …

0
139
Member Avatar for roswell67

Hello guys, I need help to divert an application's traffic to a different IP (localhost for example). I heard that this can be added by making the application support sock5? maybe am wrong.. but I just need to divert an application's traffic to my local proxy server. Scheme: iExplorer -> …

Member Avatar for roswell67
0
521
Member Avatar for bnickerson

Hi, My webserver code is trying to send an image file over a TCP connection. However, the send() function is returning a -1 value with the error: Connection Reset by peer. I am using a web-browser to access the server so my guess is that the server is somehow sending …

Member Avatar for abhimanipal
0
960
Member Avatar for bnickerson

Hi, I am writing code for a webserver and am trying to send a html file called index.html over a TCP socket. How would I do this? At the moment I am trying to read the contents of the file and then send them over the connection. However, the page …

Member Avatar for nezachem
0
282
Member Avatar for omarelmasry

I am working on a certain project ,and I want to send data from a windows application on a computer to another windows application on another computer , knowing that both computers could be anywhere (not together in a LAN network) ... I heard that it is possible through a …

Member Avatar for Nyight
0
197
Member Avatar for h612

Hello, i've a server and client code in which the error i'm getting is: on deserialization- but when i checked the byte[] length after serialization that i send they are 1550, and then over the tcpclient when i received the byte[] it was 1448 in length... any help or suggestion …

Member Avatar for h_Nick1981
0
456

The End.