I'm hosting a WCF service in IIS7 on Windows Server 08, sp2. The service is hosted as its own website and is exposed via a NET.TCP endpoint. The service works perfectly until a restart/iisreset command is issued.
After restart or iisreset, when I make any service call, I receive the following error:
'System.ServiceModel.EndpointNotFound...
I have client and server in unix machine, how can i find out my server is down and reconnect to server. without bringing my client down.
I am doing connect (), but read() isiving me error
Transport endpoint is already connected. I am using C++ in solaris.
Can i reconnect back when i start server without bringing client down ??
And ...
I'm interested in one WCF server exposing both HTTP and TCP interfaces. It'll be used with Silverlight clients, so the thinking is that the HTTP interface will be for secure communications while TCP will be used the rest of the time.
Is it possible for these two interfaces to use the same port in their endpoints, e.g. http://localhost:...
Hello,
I need to develop an iPhone/iPod Touch application that creates a server to send some data stream (characters or bytes) to a Windows C++ application via Bluetooth. I'm thinking of creating a TCP connection, but don't know where to start.
What iPhone API should I use do to something like this? Does anyone knows some code examples...
I am writing a simple C# tcp client and server program. The server will eventually be on a different machine but now I am just testing on the same machine. I am getting an exception error "Only one usage of each socket address (protocol/network address/port) is normally permitted" when I create my TcpClient using the ip address. But it...
I'd like to create various network errors during testing. I'm using the Berkely sockets API directly in C++ on Linux. I'm running a mock server in another thread from within Boost.Test which listens on localhost.
For instance, I'd like to create a timeout during connect. So far I've tried not calling accept in my mock server and sett...
If I use send() on a non-blocking tcp socket in Linux will it return EAGAIN for anything other than a send buffer full condition?
I basically need to decide if I want to use the socket send buffer as the only buffer for my app or if I need my own user space buffer to feed the socket buffer.
...
quite new to boost and asio, need help
connect to proxy
asio::ip::tcp::socket socket_;
send CONNECT host: ssl server to the proxy
receive response 200
asio::ssl::context ctx(io_service, asio::ssl::context::sslv23);
sslsocket_(socket_,context)
try handshake
sslsocket_.async_handshake(asio::ssl::stream_base::client,
boost::bind(&clien...
Is it ever possible for the C send function to return zero when using TCP sockets? The man page just says that it will return the number of bytes sent, but I am not sure if it will just return -1 when it can't send any data.
...
Hi Guys I'm debugging some CS program and to view the performance of the application in slow internet I tried many different ways. However the best would be the Server and the client be in the same PC ---- my debugging environments for both the server side and the client is setup in one PC.
So I'm wondering is there anyway to limit the ...
Various connections - e.g. those created with twisted.web.client.getPage() seem to leak - they hang around indefinitely, since the OS time-out is measured in hours - if the server doesn't respond timely. And putting a time-out on the deferred you get back is deprecated.
How can you track the requests you have open, and close them force...
I'm designing a training program in C++ that will be distributed to a large number of facilities, most of which won't have much in the way of an IT staff. The program connects via a TCP connection to a central database which stores various pieces of data for research and evaluation purposes.
The problem I have is that I would like to ma...
Hi all, i have an entity with a @OneToMany relationship:
@OneToMany(mappedBy="a", fetch=FetchType.EAGER)
@Cascade(CascadeType.SAVE_UPDATE)
private List<B> bList;
Im writing a server/multiclient app: a client send A to server and server resend A to other clients.
So, client1 send A with bList that has size 3.
Server receive A entity, b...
I am experimenting with the Tcp connections in .NET and I would like to send some data that is larger than the SendBufferSize proporty of the TcpClient object. Is it possible to send the data by simply writing to the network stream or do I need to cut it in pices and send those and at the other end create it again?
...
I just asked a question on how to send data larger than the SendBufferSize and the answer was that is would be send in a couple of parts.
My second question is how will this data be received? Will it be complete in the network stream or will it get it divided.
the first question: http://stackoverflow.com/questions/3097695/can-you-send-...
Hi All,
I have a client server application writter in C# .NET using Sockets.
I often get log messages (say about 4 per hour) saying this message,
An existing connection was forcibly closed by the remote host
In this case here the error is occuring on the 'server' side.
I decided to use wireshark to analyse what is occuring, and I g...
Hi all, all my test fails ... so is possible send an @entity using a TCP socket?
UPDATE
Problem is related at this post http://stackoverflow.com/questions/3097269/hibernate-send-entity-through-tcp-lose-persistentbagor-not-update-it
Thanks.
...
Been back and forth on this recently. Trying to attach a SSH tunnel from a localhost port on my machine to an internal port on the other side of an Internet accessible SSH server using Putty. Putty does not check if the port is available. Before I open the Putty connection, I would like to verify the port is free.
It works fine if the p...
I am currently working on a solution to allow multiple Visual Basic 6 applications to talk and sync with each other. My background is mainly managed C#, but I have a little background with VB6 and C++ and is why a pure managed solution would be optimal for me. Windows Communication Foundation (WCF) was my first choice, but I am struggl...
Hi all.
We are writting silverlight3 application, which use Tcp connction.
Our project use client server architecture.
Client part is silverlight application, and server part is winform application.
We use TcpClient and TcpListner for connection.
We can handle following errors:
1. user shut down
2. users network cable unpluging
3. server...