Search Result

Collapse
32 results in 0.0049 seconds.
Keywords
Members
Tags
socket
  •  

  • zoho
    started a topic socket server memory is keep on increasing

    socket server memory is keep on increasing

    Hi,

    We have socket server which is developed in c# .net 3.5.
    I see server memory keep on increasing whenver client disconnectes and connects.The server disconnects client if client didn;t send valid credentials.
    When client is trying to connect with invalid credentials the memory is keep on increasing.
    Here is the code that handles disconnection.
    Code:
    try
                            {
    ...
    See more | Go to post

  • Sending and Receiving a struct over TCP Socket in Linux

    hi Mates,

    First of all thanks for this wonderful Programmers Community.

    Recently i started to learn Socket Programming. i have some doubts, hope u ppl will clarif them.

    i am trying to code a C program for sending a struct over TCP Socket in Linux!
    The code is as follows:
    Code:
    /*
    ** sravan_server.c - a stream socket (TCP) server Program 
    */
    #include <stdio.h>
    ...
    See more | Go to post

  • m surkhi
    started a topic Oracle RDB ODBC with .net web service

    Oracle RDB ODBC with .net web service

    Hi All,

    I have a web application built using ASP.Net and communicates with a Web services which uses oracle rdb odbc driver to connect to RDB server, but after a while I started getting this error when executing simple statements like insert or update against the database:
    Data : System.Collecti ons.ListDiction aryInternal
    Source : SQRDB3.DLL
    Message : ERROR [08S01] [Oracle][ODBC][Rdb] send() Ret -1 Err#10038 WSAENOTSOCK...
    See more | Go to post

  • Dave750
    started a topic 2 way socket between applications/devices

    2 way socket between applications/devices

    I am new to C# and am writing a program that will run on a pc and allow either another program or an external device, like a touchpanel control system, to connect to it. I have the rest of my code ready, but I can't figure out how to make the socket connection work.
    I need the following

    My application listens for a connection.
    Device connects to my application.
    the socket stays open until it is disconnected by the...
    See more | Go to post

  • Dusted
    started a topic Multithreaded TCP Socket server.

    Multithreaded TCP Socket server.

    I'm working on a server program that will allow multiple clients to connect then send and receive the catch is that i don't want all the date from 1 client sent to every other client. I only want Client 1 to receive data from Client 2 or Client 3 if they send numbers that are in a certain range. my main problem right now is getting the server to accept multiple clients and send them any data back at all. i don't know if it's important but the clients...
    See more | Go to post

  • Ramsin
    started a topic Downloading (a webpage) in C++
    in C

    Downloading (a webpage) in C++

    Hi, I'm fairly new to socket/network programming.
    Code:
    #include <iostream>
    #include <cstring>
    #include <cstdlib>
    #include <fstream>
    #include <sys/socket.h>
    #include <sys/types.h>
    #include <netinet/in.h>
    #include <arpa/inet.h>
    
    using namespace std;
    int main() {
    	int sockfd;
    	sockaddr_in addr;
    	char rqt[]
    ...
    See more | Go to post

  • Converting UINT IP address to string format in MSVC++ 6.0

    My program is acting as a server accepting command requests from a client. Two of those commands (FtpGet and FtpPut) include a parameter for an ip address. My program accepts the ip address as a vector of unsigned chars (bytes), which I then throw into an unsigned long so that I can use the ntohl function to convert it to host byte order. I then need to convert the ip address into it string representation to continue with my program.
    ...
    See more | Go to post

  • Connection pooling in ASP.NET/IIS for socket API-calls

    Hello,

    I need to communication with an ERP using sockets (API-calls) from a .NET website and I am wondering where to search for information on how to work with connection pooling within IIS. Is there some kind of framework that could be of help to achieve this? A dll-file will be used to make the socket-calls.

    Any other thoughts on how to do a connection pooling when using
    sockets?

    Thanks for any...
    See more | Go to post

  • phpuser123
    started a topic Can I connect to a computer using J2me?
    in Java

    Can I connect to a computer using J2me?

    I want to connect to a computer using its IP address.. I want to use J2ME to achieve that..
    I investigated a bit and came up with Connector.open( url), however, I also found out that mobile phones have a private IP address..Then, is it possible for me to connect to a computer using its IP address.
    See more | Go to post

  • What does the following stack trace means and how can I correct my codes?

    In this programs i want my client to connect to the server.I run my server,till now it's ok but when I run my client,I get the java.net.Connec tException and the stach trace is something like that :
    java.net.Connec tException: Connection refused: connect
    at java.net.PlainS ocketImpl.socke tConnect(Native Method)
    at java.net.PlainS ocketImpl.doCon nect(Unknown Source)
    at java.net.PlainS ocketImpl.conne ctToAddress(Unk nown Source)...
    See more | Go to post

  • jinsue
    started a topic Passing a socket to another process under Windows

    Passing a socket to another process under Windows

    Searching around the net there are cases where this has been a problem for people as socket.fromfd() and socket.dup() don't exist under Windows.

    Apparently there was a workaround but that kinda didn't work and people suggest patches to recreate the functionality those two functions give but I do not know how to:
    a)Implement a viable workaround or b)Patch my version of Python (2.6.5)

    Apparently workable patch (I've...
    See more | Go to post

  • dyte
    started a topic How to connect Telnet using .NET?
    in .NET

    How to connect Telnet using .NET?

    Hello,

    I need to connect to telnet. For eg, assume that, I entered in command window;

    C:\telnet 10.41.xx.xx

    How to do this in C#?

    Thanks anyway..
    See more | Go to post

  • socket.connect | gaierror: [Errno 11004] getaddrinfo failed

    Hi all,
    I am having trouble getting a client/server relationship to connect; receiving the above error.
    Python 2.6.5, Win7

    On one end we have the socket being bound and that is all working with correct (IP) and as far as I know, correct socket settings.
    Code:
    def listen_for_peer_setup(server_connection):
        listening_socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
        listening_socket.setsockopt(socket.SOL_SOCKET,
    ...
    See more | Go to post

  • Why the server got so many connection requests from an invalid socket?

    Hi,


    I am having a big issue when I develop my server. Basically, server is listening on a fixed port from clients. I did some checking to discard those are not from my client. However, I got so many weird connection requests from an invalid socket. This will make our server couldn't do anything useful after running a while! All coming from one IP and they constantly requests to our server... this is for sure not sort of DoS...
    See more | Go to post

  • fborot
    started a topic socket receive timeout not accurate
    in .NET

    socket receive timeout not accurate

    hello
    I am trying to use the socket receive timeout property but I find it not accurate, there is an offset of 500 ms.
    example, I set it to 500 ms, send the bytes, set the socket to receive and if that times out then I try again. the problem is that instead of timing out at the time I set it it does it 500 ms later. example
    if value 500 ms, it does it at 1000 ms,
    if the value is 1000 ms, it times out at 1500 ms later...
    See more | Go to post
Working...