Hi,
How can I know when to close the socket of an HTTP client (I mean a browser is connecting to my TCP socket server). Everything works perfect but in other for the browser to show what the server has sent, i have to shutdown the server (or call socket.Close()).
It works fine if I call (socket.Close()) but I just don't know when.? I don't want to call close in a middle of a request otherwise the browser would have to reload to connect to the server again.
Here's an example of opening and reading data from a TCP socket. Is there a a popen() call or equivalent that can start a child process and read its output?
void setup() {
c = new Client(this, "127.0.0.1", 12345); // Replace with your server's IP and port
}
void draw() {
if (c.available() > 0) {
input = c.readString();
http://www.processing.org/learning/libraries/sharedcanvasclient.html
I'm looking for a solution like an exchange server for email, calendar, contacts, etc. I would prefer to use a open source solution. Any suggestions?
The client PCs are using Mac/Unix and Windows, so the server must be accessible from all platforms. I prefer to used a non-Web-based solution, but i'm open to web-based suggestions if they provide all the needed functions (email, calendar, contacts).
Hey,
The PHP SOAP client is constructing a soap request that uses "href" to reference other parts of the message. The web service i'm trying to consume does not like this. Is there a way to force it to construct the soap envelope without references?
Thanks in advance
Hi SO community
I have been issued a problem with security. A bank will not allow use of DLL's in the project. What sort of structure would be needed to allow DataAccess and or the use of external services (like an email client mailchimp, icontct).
has anyone else encountered this sort of problem before? If they have how should the project be structured (.net 3.5+).
Thanks,
KJ
That is detect when the user makes web part changes and selects to exit editing the page.
I want to be able to capture a page event, then create a SharePoint task to instruct a user to translate that page to another language (note that MOSS and variations is not an option because the client wants to use the free version of SharePoint). So the customer wants essentially the same WSS site in multiple languages.
How does WF service handle possible between WF runtime persisting/resuming and a client call calling the next service method/activity in the workflow?
I'm new to WF and I'm developing a back-end service that will be put into production for internal use at work. How does WF handles such a scenario? Does it restart the WF runtime on a separate thread than the thread that is concurrently storing state?
To my understanding, the main difference is that a service account doesn't require a user to log in for authorization, while an installed application does.
I am making an Android app (an "installed application"?) that offers an in-app subscription, and doesn't require the user to log in to an account (a "service account"?). To get a Client ID for the Google Play Developer API, I have to declare it as either an installed application or a service account, and am unsure which to go with.
Can anyone recommend a decent tool for optimising images other than adobe photoshop, the gimp etc?
I'm looking to optimise images for the web preferably online and free.
Basically I have a client who can't install additional software on their work PC but needs to optimise photographs and other images for their website and is presently uploading 1 or 2 Mb files.
On a personal level I'm interested to see what other people are using...
I know this question is crazy - but my employers client is demanding that email verification be removed from the sign up process (they feel it is impeding sign up).
I wanted to garner feedback from the programming community at large as to their experience and opinions regarding sign up and email verification - and the possible consequences of removing this safeguard.
I am dynamically creating a hyperlink in the c# code behind file of ASP.NET. I need to call a JavaScript function on client click. how do i accomplish this?
thanks in advance
Hi,
I have one asp.net Ajax Login using webservices. In this login i call the loogout() client side from hyperlink:
Sys.Services.AuthenticationService.logout(null,onLogoutCompleted,null,null);
return false;
My Webservice make :
[WebMethod]
public void Logout()
{
FormsAuthentication.SignOut();
}
logout work but my page make one big postback. Some way to make NO postback at logout?
Thanks
Hi Anish Jhaveri,
I want to write a we based application with C# .Net and i need some framework to work with smart card in client-side.
please help me.
Hello friends..
I want to konw whether the browser caching of css and javascript is automatic with php or v hv to do it manually with code..
and wt are the advantages if i manually cache the css and js files to client browser.. using code..
??
If not cache wt will happened ??
Hi, i'm very new to blackberry java development. i want to develop a shoutcast client for blackberry device. a simple application should have a background image, play/pause button and a volume bar...
I've got applications on my host machine running fine by runnning:
$ssh -X user@host
Welcome to host
$firefox
Firefox proceeds to run in client display from the host machine.
How do I get firefox to load on the host machine's display so I could remotely manage the host machine's running GUI applications? I need my application to load a GUI on a remote machine without walking to that machine.
class MyCommonClass
{
//properties
}
This class should be accessible in
service project
wcf-client project
the other for which they are references. In this common project I can't generate servicereferences.
I think, I could don't generate MyCommonClass in ServiceReferences but how to mark class to be nonserializable? In properties there's IgnoreDataMemberAttribute. I tried also reuse MyCommonClass type located in common project, but it is still generated
Hi,
I am looking to setup Amazon EC/2 nodes on rails with Riak. I am looking to be able to sync the riak DBs and if the cluster gets a query, to be able to tell where the data lies and retrieve it quickly. In your opinion(s), is EC/2 fast enough between nodes to query a Riak DB, return the results, and get them back to the client in a timely manner? I am new to all of this, so please be kind :)
I am being asked to make a "download" button that downloads the contents of a textarea on the same page as a file, with the browser's "Save As" dialog showing up. Copy/paste would do the job just fine, but it is a "requirement".
Right now, I am just posting the contents of the textarea to the server, which echos them back with "Content-disposition: attachment" slapped on. Is there a way to do this with just client-side Javascript?
I plan to configure weblogic's gzip servlet filter (using weblogicx-gzip.jar) to gzip my web pages.
How can I verify that the pages are being sent to the client gzipped?
A client is asking me to insert a Floodlight tag into an Objective-C programmed iPhone app that is ready for submission to the App Store.
I did some Googling, and couldn't find anything about how to do this (it seems like you can you only add Floodlight tags via Javascript, but I'm not too sure). Can you do this, and, if so, how?
Hi All,
Please Help me. I have gridview control ( id,name,address,job.............). after entering the id remaining details display in the grid. it's working fine(using webmethods). But i need to bind the gridview from client side only.
This is a very newbie question.
I want to know how to create a WEB APP to make Call ( using VOIP protocoll I think ).
What program languages do I have to learn ( client and server side ) ?