40 Topics
|
|
heyy guys.. m implementing PEER TO PEER FILE TRANSFER.. What protocol should I use? TCP or UDP? And why? |
|
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 … |
|
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 … |
|
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 … |
|
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 … |
|
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 … |
|
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 … |
|
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 … |
|
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. |
|
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 … |
|
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 … |
|
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 … |
|
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) |
|
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 ? . … |
|
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 … |
|
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 … |
|
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) … |
|
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, … |
|
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 … |
|
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, … |
|
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} … |
|
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 … |
|
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 … |
|
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 … |
|
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 … |
|
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 -> … |
|
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 … |
|
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 … |
|
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 … |
|
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 … |
The End.