greetings, i have the following code regarding asynchronous sockets programming:
public void ServerBeginAceept(ushort ServerPort)
{
try
{
ServerSocket = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp);
IPEndPoint ipEndPoint = new IPEndPoint(IPAddress.Any, Serve...
I'm wondering whether you can get the client's machine name. I guess you cannot.
Its interesting what you can get in the System.Windows.Application namespace.
I guess hidden is not the right word, more like "less-used" or unknowns. For example I use the one below to get the current URL
var hostName = Application.Current.Host.Source.Ho...
I created a web services client prototype using api's available in weblogic 10.3. I've been told I need to use Metro 2.0 instead (it's already being used for other projects). The problem I have encounter is that the WSDL does not include any Security Policy information but a UsernameToken is required for each method call. In weblogic I w...
What is the simplest (to install and use) git client for Windows nowadays?
...
how in lamp (LINUX ,APACHE ,MYSQL ,PHP) environment ,
can i show date and time in web page according to the user time zone ?
THANKS
...
I would like to use WebSockets in my Windows Forms or WPF-application. Is there a .NET-control that is supporting WebSockets implemented yet? Or is there any open source project started about it?
An open source solution for a Java Client supporting WebSockets could also help me.
...
I have the following setup:
Closed-source Client A where I can set the IP of B
Closed-source Server B, fixed IP
Server C, written by me
A communicates with B over HTTP. I've cloned the API and implemented it myself in C, as I am interested in the data, but I still require A to talk to B, which is why I can't just let the client conne...
I run my application on a network and in some cases the client lost connection to the server. After this time, when I wanted to send a message to the server I receive the following error: Operation not allowed on non-connected sockets (something like this).
I thought to create an event for object type TcpClient and when tcp_obj.Connecte...
Hi, I'm excited about desktop Google Docs client. I found a project using Adobe AIR which imitates Mozilla Prism. That didn't impress me at all. Do you have any pointer to a FOSS project building desktop Google Docs client?
If there are none, if you were to build, how would you do?
...
We have a client server software that needs to be updated. I need to check if the file is currently being accessed. Is this possible if so how Delphi code if possible. The only place I can see if the file is open is under the shared folders open files. I have tried this code but just shows that the file is not opened.
function TfrmMain...
Hi,
This question is a bit hard to phrase and I'm not sure if I understand the underlying issue, but here goes:
I have a java chat program. I run it using 2 jar files - a server and a client. You run the server in the background on a computer, and then when you run the client you just have to enter the ip address of the computer that's ...
We have been provided with a wsdl and xsd schema by a company we are working with via email. The web-services we are interfacing with are accessed through a IPsec tunnel. There are local references(on their end) in the published WSDL which means we cannot consume it.
1st question: Is this a common setup? I thought the point of having a ...
I am looking for a flash based web client with both group instant message and voice capabilities that I can modify. Does anyone know of any open source or proprietary solutions?
...
I am writing an IM Client on iphone.// post ref: #IMClient01.
Here is my initial design of it:
(UIView*)LogInWindow; // to log in
(UITabBarController*) MainTabBarController;//have three tabs, namely:Contacts, Chats, My Profile
(UITableViewController*)ContactsController; //manages a list of contact/user
(UITableViewController*)ChatsCont...
Hello,
I'm developing a standalone client that invokes some EJB methods on Glassfish v3. This works well until I'm integrating the client into an Eclipse plugin for running in our RCP application. In this setting there seems to be a classloader problem on initializing the naming context and I get the exception listed below. (The client ...
I am trying to get a Client IP address & port for an internal collection. I found this answer. However, this seems like a lot more than what I need to simply grab the client's IP address & port. Are there any other ways to do this?
...
Hi
I am new to the android .
In android in exact what application socket programming is used?,give example with digram if posible. which is client, which is serve?r
--
kiran
...
I have a desktop client application that is talking to a server application through a REST API using simple HTTP posts. I currently have the client polling every X minutes, but I would like the data to be refreshed more frequently. Is it possible to have the server notify the client of any new data, or is that outside the scope of what a...
I am after an example describing the usage of Twisted's HTTP Client.
After reading the excellent blog post on the internals of Twisted, I understand how the "Factory" and "Protocol" components play their role but I am unclear on how to introduce "Request" in the overall Client flow.
More specifically, I need to be able to perform HTTP...
Hello,
I'm developing a J2ME app which securely connects to a server to login. I'm having a lot of difficulty in setting up the SSL between the two so I thought of a simpler solution and I'm hoping you can give your views on it.
The J2ME Midlet is shipped WITH the server's public key, on connect a message (username, password hash and r...