client-server

Android client server application [closed]

青春壹個敷衍的年華 提交于 2019-12-22 06:24:49
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed last year . I want to create an android app which should be authenticated through the server. How can I code both client side and server side to make this possible ? On the server side what should I use to do scripting and how ? Flow should be like this: User enters it's username and password

How to allow a Server to accept both SSL and plain text (insecure) connections?

冷暖自知 提交于 2019-12-22 05:45:31
问题 I am trying to create a server that can accept both secure SSL and insecure plain text connection (for backwards compatibility). My code is almost working except the first transmitted data received from an insecure client loses the first 5 bytes (chars) at the server. More specificially if I transmit 30 bytes on an insecure connection, when the server gets to the OnClientDataReceived() function, the line " int iRx = nwStream.EndRead(asyn); ", then iRx = 25 . Any subsequent messages

Android Sync Adapter Resources [closed]

孤人 提交于 2019-12-22 05:25:28
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 4 years ago . Does anyone know of any books or online resources (except the dev docs) that cover the Sync Adapter and its usage? Struggling to find any good material myself. Or.. does anyone know of any alternative libraries for conducting remote sync services? Thanks 回答1: There really isn't any good resources at this point.

db4o client/server appears to only be able to process one query at a time?

你离开我真会死。 提交于 2019-12-22 04:12:34
问题 We're evaluating db4o (an OO-DBMS from http://www.db4o.com). We've put together a performance test for client/server mode, where we spin up a server, then hammer it with several clients at once. It seems like the server can only process one client's query at a time. Have we missed a configuration switch somewhere that allows for this scenario? Server implementation is below. The client connects, queries (read-only), and disconnects per operation, and operations run one immediately after the

How to allow apache hive to handle multiple clients query

放肆的年华 提交于 2019-12-22 01:37:46
问题 I have created an external table via hive from hbase. When someone loged in to shell and deploy some queries , no one else can run any query. when someone try to run a quesry it gives following error. FAILED: Error in metadata: java.lang.RuntimeException: Unable to instantiate org.apache.hadoop.hive.metastore.HiveMetaStoreClient FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask when first shell exits then queries can be run easily. So it means that my hive a

How do i know if my client iOS app is connected to the server?

天大地大妈咪最大 提交于 2019-12-21 23:44:41
问题 I press the button to connect to the server (TCP), but i don't know whether it connected or not.. Here is that part of the code: [self connectToServerUsingCFStream:msg portNo:50000]; if(readStream && writeStream) { NSString *newText = [[NSString alloc] initWithFormat:@"Connected!! :)"]; statusText.text = newText; [newText release]; pingButton.hidden = NO; } else { NSString *newText = [[NSString alloc] initWithFormat:@"Connection unsuccessful :("]; statusText.text = newText; [newText release];

Framework recommendation needed on .NET or JAVA for Volunteer computing (internet nodes)

ぐ巨炮叔叔 提交于 2019-12-21 23:17:14
问题 I want client machines on internet who subscribe to my server to donate their idle cpu cycles.(Like SETI@Home) They would take jobs(work-units) from server to process, and send back results to the server. (This is the most simple description). The framework i need should allow me to define a job/task. Rest of things like communication, job execution/tracking, client binaries update etc. should be managed by framework. I evaluated Alchemi.NET a bit, but its not actively maintained, seems half

How to send GPS data from android to a website?

梦想的初衷 提交于 2019-12-21 21:54:01
问题 I'm new to Android and web service development! currently I'm working in developing Android program that will send longitude and latitude information to asp.net website (to show the location change the website map) the questions are - how to send this data to the website (the best practice)! - any suggestions for a suitable framework starting from the android application itself , inserting to database , client/server connection !! I've read a lot about web services specially REST ..but didn't

For a client server program, what is the best approach to receive multiple client connection requests in parallel?

≡放荡痞女 提交于 2019-12-21 21:51:53
问题 The program is a client server socket application being developed with C on Linux. There is a remote server to which each client connects and logs itself as being online. There will be most likely be several clients online at any given point of time, all trying to connect to the server to log themselves as being online/busy/idle etc. So how can the server handle these concurrent requests. What's a good design approach (Forking/multithreading for each connection request maybe?)? 回答1:

How to improve the performance of Client-Server Architecture Application?

瘦欲@ 提交于 2019-12-21 21:16:00
问题 We have a product built on the Client-Server architecture. Some details about the technology stack used. Client - Java Swing Server - RMI Java Database - Oracle The clients are located at different parts of the world but the java server & the oracle database are located on the same machine in Sweden. Because of this there is a lot of network latency. The clients located at distant locations have terrible performance. The application is used for processing files with the size over 50MB. Each