Creating a reliable network connection using WiFi
Hi there,
I have 2 iMacs running Maverick. I have a home Wifi network and I am trying to create a reliable connection between the 2 computers.
The wifi signal at both locations is strong although in 2 different buildings i.e. house and studio.
I currently have them networked but is very unreliable and I am not sure if there is some type of sleep mode or something that cause them to stop communicating.
Basically I go to Finder -> Go -> Connect to Server everytime I need to re-establish the connection.
Ideally I would like the connection to be permanent and auto restore if connection is lost.
Is this possible and could you walk me throught the steps and any settings I should be aware of?
Thanks
Contact with Zaitek coveraged and Communications solutions, they have a wide range of VoIP service. I have been using their services at my office since a year ago. Nice
http://www.zaitekdmv.com/
Similar Messages
-
I am on my 3rd phone in as little as 9 months because I have never been able to stay on the network using the hotspot or tethering. The network keeps disappearing and coing back on. I am in a 4 g area and right across the street from a main Verizon store. My antennae strength is full and my 4g indicator is on but it disappears so much that I cannot rely on network service with my phone. I actually went out and purchased a 4g aircard and that works just fine so I know its the phone and not the network. Its funny I keep getting put back into this phone when its the phone that has the problem. My salesman said after the 3rd phone you will be upgraded to the next best phone so hopefully Motorola Driod 4 will be the key top reliable network connectivity. I wish I knew how widespread this is or has been. I realize not a majority of Stratosphere users probably dont use the hotspot or tethering much but I use it or try to on a daily basis. I love the phone but not the hotspot or tethering capabilities. My newest phone never got any new apps or anything put on and it had problems outta the box.
This phone SUCKS period. I have only had it since July 27 and it has NEVER worked well. I was never told (of course other than small print) that I had two weeks to return and get a totally different phone if not happy. So the 15th day I found that out. They pulled my sim card it worked better for about one week. Than back to crap. So, I did a factory reset as they told me to. It worked for about another 2 weeks maybe. Now back to the same old thing again. Drops calls ALL THE TIME with full network strength I can here them they cannot here. Goes back to factory defaults all the time. Starts not ringing and going only into voice mail. Freezes up where you cannot even shut off, you have to take the battery out. Also, constantly loses connectivity even though it is showing 4G and all bars too.
Went in again to discuss this with them just today. HMM, first, if you go back to comolaints this has been a main complaint of this phone for a huge percentage of customers. Hmm, they are still selling it as a GREAT phone, that is what they said to me, ohhhh, no problems. Today they looked it up and supposabley says Samsung as of July 30th is aware of this problem and now has 90 days to fix it. Current fix. They SAY, pull the battery out EVERY night. Stuck with phone will not replace with a different model. Only same model. SUCKS...Oh and Verizon rep says to me " we are only the cell service. All warranty's are through your Samsung." Funny thing is. WHY are they still selling it on their shelf. I feel like sending a spy into tomorrow to same store and find out if they push the phone on them...BUSTED, I am sure they will. Meanwhile, it sure puts bumps in the road for our livelyhood if our only phone. Not work the retail value, so not buying my own phone to replace YET.
Good luck....Hopefully your third time is the charm and you will finally get a replacement for this Piece of CRAP. -
iOS 5 used to allow Airplay between iPad (WiFi) and Apple TV (Ethernet) as long as they were on the same network, i.e. connected to the same wired/wireless router. In iOS 6, now both the iPad and the Apple TV have to be on the same network and both have to be connected using WiFi ? Why did they change this ? Means that the iPad and the Apple TV box both have to be in range of the wireless router when this wasn't a restriction before. Apple TV could be anywhere as long as it was connected to the same wireless router via ethernet cable. Seems like an unnecessary thing to restrict.
I have found with AppleTV that it is the IPV6 on the computer you want to access is the problem. The issue is that Homegroup on Win 7 or Win 8 requires IPV6 to work, but AppleTV won't work with IPV6. (So maybe double check you have IPV6 turned off)
So you have to make a choice - Homegroup or AppleTV.... but you can't have both, until Apple brings ATV up to date. (crazy that it does not recognise IPV6 - c'mon Apple!)
You can set up sharing individually in Win 7 or 8 and have the ATV access files that way.
Having said that, there is always the exception.. I have an old HP home server running Win8 and it services ATV - but is part of the Homegroup... have no idea why it works on both, but no other machine on the home network will talk to both ATV and Homegroup at the same time! -
Select which network connect to WiFi Calling
Is it possible to select which WiFi networks connect to WiFi calling and which ones don't? For example I like to use it at home and at work. I also have Cablevision as my ISP which has over 1,000,000 hotspots. As I drive I am constantly connecting and disconnecting from hotspots. Is it possible to exclude Optimum WiFi and others from WiFi Calling?
Hi Danuals, Thank you very much for your response. I rang EE’s support number and they passed me to the 2 tier support team, who agreed with your diagnosis but said it takes a little time for them to change it from IPv4 to 6 so I just need to wait for it to be changed over. It actually turns out that because I live in an area with no mobile signal at all they are going to send me a free signal box to connect to my router. I have to say I’m very happy with EE’s support and also a very big thank you to you for pointing me in the right direction. Update: My WiFi calling is now working as well, it came on after 15 mins
-
Macbook pro wont connect to internet using cable, but connects using wifi fine
My macbook pro wont connect to the internet using a cable, but connects using wifi fine. I use wifi at home but sometimes need to use my laptop at work and connect using a cable but it says i'm not connected to the internet?
Can you open a terminal and invoke the following commands:
ping -c 10 localhost
and
ping -c 10 google.com
You should normally get something like:
PING google.com (74.125.224.103): 56 data bytes
64 bytes from 74.125.224.103: icmp_seq=0 ttl=55 time=19.053 ms
64 bytes from 74.125.224.103: icmp_seq=1 ttl=55 time=37.692 ms
64 bytes from 74.125.224.103: icmp_seq=2 ttl=55 time=46.988 ms
64 bytes from 74.125.224.103: icmp_seq=3 ttl=55 time=33.466 ms
64 bytes from 74.125.224.103: icmp_seq=4 ttl=55 time=28.940 ms
64 bytes from 74.125.224.103: icmp_seq=5 ttl=55 time=58.070 ms
64 bytes from 74.125.224.103: icmp_seq=6 ttl=55 time=33.335 ms
64 bytes from 74.125.224.103: icmp_seq=7 ttl=55 time=33.361 ms
64 bytes from 74.125.224.103: icmp_seq=8 ttl=55 time=36.099 ms
64 bytes from 74.125.224.103: icmp_seq=9 ttl=55 time=41.111 ms
--- google.com ping statistics ---
10 packets transmitted, 10 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 19.053/36.811/58.070/9.939 ms -
N70 Unable to establish network connection using p...
. . . but can browse the net using handset alone; PC suite can do other functions but OTA is not able to connect. This happened after I downloaded the latest PC Suite 7. Recommendation of FAQ/Help is to check connections settings (duh) and have cooperated with instructions. Nope, didnt work. Have tried:
Uninstall; install of PC Suite to the letter 5x
Reset phone to factory settings
Use settings wizard to ensure proper internet settings
Was recommended download usb cable driver - link is non existent
Tested using a different N70 unit on my laptop - still no go (now doesnt that mean there is a software issue????)
Most of the help desk tips at the call center are stop gap and rarely meant to go the distance assisting you (like when a blanket fix is recommended - go to service center to have phone software upgraded) or the standard spiel of "we'll put your case on record and we'll call you back in hours" and sometimes they do call back or not. So far in my case none of the tips have worked. I am about to reformat my pc, and if this doesnt work, then what can we say about the problem? Did we get a dud PC Suite, a lemon, a beta version?
How then can I browse the net using my mobile as modem? I guess I am venting my frustrations here - but hey, may I challenge Nokia to find a fix for connectivity issues related to use of a Nokia Phone as a modem? Check out the discussions and you will find similar issues echoed all over. Or is Nokia just waiting for one of us indomitable tinkerers to find a solution and share it in these discussions?I REFORMATTED MY PC TO SEE IF IT IS A PROBLEM WITH MY LAPTOP SOFTWARE. I AM STILL UNABLE TO ESTABLISH NETWORK CONNECTION USING MY PHONE AS A MODEM. IT SAYS CHECK CONNECTION SETTINGS, BUT HOW FAR CAN YOU GO WITH THAT? THE CONNECTION SETTINGS ARE FINE! I CAN BROWSE THE NET USING THE HANDSET ALONE, SO WHAT GIVES? I CHALLENGE NOKIA TO FIND A SOLUTION TO THIS PROBLEM.
-
How to create a DSN Less Connection using MySQL
Hi All
How to create a DSN Less Connection using MySQL?
http://www.caucho.com/projects/jdbc-mysql/index.xtp and downloaded Caucho driver and installed the jar ---- caucho-jdbc-mysql-0.2.7.jar in my classpath..
this is how i embedded the code
try
driver = (Driver) Class.forName("com.caucho-jdbc-mysql-0.2.7.Driver").newInstance();
catch (Exception e)
lastErr = "Cannot load the driver, reason:"+e.toString();
nothing seems to work with code..
Unable to proceed..Any piece of code would be of great help..
Thanks and regds
GautamAccording to the installation instructions for that driver:
The driver is com.caucho.jdbc.mysql.Driver
The url is jdbc:mysql-caucho://hostname:port/database
You used something else for the driver name. So it doesn't work. By the way, I found those instructions here: http://www.caucho.com/projects/jdbc-mysql/ -
In device manager it shows an error code 32' using iPhone 5 related to Apple Tv I believe is when this started, I am thinking I can DL the file and install
biut I am not sure how to properly do this.
Also I use my LTE to tether (paid) to my LapTop as well, The issue I am having, I cannot get the USB to work as a network connection. However using the WiFi method works fine but I rather use the sync cable at times such as when I am charging the phone and/or wishing to not trainsmit my ssid for others to see even though I do use a password.
Last question about using the built in WyFi tether connection, Is it posable to remove or ake the annoying blue indicater bar at the top disappear? This blocks from doing certain tasks that forces me to shut off the HotSpot app. to allow me to pull down the info bar at the top, Please Help ThanksIn device manager it shows an error code 32' using iPhone 5 related to Apple Tv I believe is when this started, I am thinking I can DL the file and install
biut I am not sure how to properly do this.
Also I use my LTE to tether (paid) to my LapTop as well, The issue I am having, I cannot get the USB to work as a network connection. However using the WiFi method works fine but I rather use the sync cable at times such as when I am charging the phone and/or wishing to not trainsmit my ssid for others to see even though I do use a password.
Last question about using the built in WyFi tether connection, Is it posable to remove or ake the annoying blue indicater bar at the top disappear? This blocks from doing certain tasks that forces me to shut off the HotSpot app. to allow me to pull down the info bar at the top, Please Help Thanks -
Error while creating a new DAC connection using connection type MSSQL
Hi,
I am trying to create a new DAC connection i.e. a new DAC repository in the SQL Server 2008 database.
DAC version : 10.1.3.4.1
Database : SQL Server 2008
I have downloaded the sqljdbc4.jar file from the below link and placed it in the D:\orahome\10gR3_1\bifoundation\dac\lib folder.
[http://www.microsoft.com/en-us/download/details.aspx?displaylang=en&id=11774 ]
I have entered all the details correctly for database name, database host, database port. I created a new Authentication file.
I get the below error when I try to test the connection.
MESSAGE:::MSSQL driver not available!
EXCEPTION CLASS::: java.lang.IllegalArgumentException
com.siebel.etl.gui.login.LoginDataHandler$LoginStructure.testConnection(LoginDataHandler.java:512)
com.siebel.etl.gui.login.LoginDataHandler.testConnection(LoginDataHandler.java:386)
com.siebel.etl.gui.login.ConnectionTestDialog$Executor.run(ConnectionTestDialog.java:290)
::: CAUSE :::
MESSAGE:::com.microsoft.sqlserver.jdbc.SQLServerDriver
EXCEPTION CLASS::: java.lang.ClassNotFoundException
java.net.URLClassLoader$1.run(URLClassLoader.java:200)
java.security.AccessController.doPrivileged(Native Method)
java.net.URLClassLoader.findClass(URLClassLoader.java:188)
java.lang.ClassLoader.loadClass(ClassLoader.java:306)
sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
java.lang.ClassLoader.loadClass(ClassLoader.java:251)
java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
java.lang.Class.forName0(Native Method)
java.lang.Class.forName(Class.java:169)
com.siebel.etl.gui.login.LoginDataHandler$LoginStructure.testConnection(LoginDataHandler.java:510)
com.siebel.etl.gui.login.LoginDataHandler.testConnection(LoginDataHandler.java:386)
com.siebel.etl.gui.login.ConnectionTestDialog$Executor.run(ConnectionTestDialog.java:290)
The error seems to be a connectivity issue with SQL Server. Am I using the correct jar file?
Please help me out in resolving this issue. Appreciate the help provided on this forum earlier.
Thank YouAdd
.\lib\sqljdbc4.jar
at end of the line starting with SQLSERVERLIB in config.bat file
Pls mark correct -
New iMac -- Do I need to create a wired network connection?
I'm new to Macs so please bear with me. My new iMac is arriving in a few days, and I'm reading through the manual just to get a leg up for when it gets here. Page 11 of the user's guide explains how to set up an Ethernet connection, but the manual does not say anything about setting up a wireless network connection during initial setup. Will I be able to do that or will I need to create an Ethernet connection first, then set up the wireless?
The setup for wireless is the same. Open Network prefs, select the Airport port, click on Configure button. Check the box to show status in the menubar, then click on Advanced button and click on the TCP/IP tab. All you need to do is set the Configure IPv4 option for the Airport port to DHCP and then click on the Apply button.
-
Unable to Create a Content Repository Connection using 'socketssl'
I'm trying to create a Content Repository Connection with RIDC Socket Type as "socketssl".
I am not able to create the connection. The following are the parameters mentioned in Jdeveloper
RIDC Socket Type : socketssl
Server Host Name : <ip of the content server>
Content Server Listener Port : 54444 (incoming SSL provider is configured in the content server)
KeyStore File Location : patch of the client keystore
KeyStore Password : password
Private Key Alias : PrivateKey Alias Name
Private Key password : password
I get the below error. However I am able to use RIDC to connect to UCM using socketssl. This problem is seen only with jdeveloper.
SEVERE: Submission[id=1, service=oracle.webcenter.content.jcr.login, resource=ucm] caught exception running task
javax.jcr.RepositoryException: oracle.stellent.ridc.protocol.ProtocolException: java.net.SocketException: Software caused connection abort: recv failed
at oracle.jcr.impl.ExceptionFactory.repository(ExceptionFactory.java:161)
at oracle.stellent.jcr.IdcPersistenceManagerFactory.createPersistenceManager(IdcPersistenceManagerFactory.java:185)
at oracle.jcr.impl.OracleRepositoryImpl.login(OracleRepositoryImpl.java:444)
at oracle.vcr.jam.LoginTask.call(LoginTask.java:68)
at oracle.vcr.jam.LoginTask.call(LoginTask.java:29)
at oracle.webcenter.concurrent.Submission$2.run(Submission.java:484)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
at oracle.webcenter.concurrent.Submission.runAsPrivileged(Submission.java:498)
at oracle.webcenter.concurrent.Submission.run(Submission.java:424)
at oracle.webcenter.concurrent.Submission$SubmissionFutureTask.run(Submission.java:888)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at oracle.webcenter.concurrent.ModifiedThreadPoolExecutor$Worker.runTask(ModifiedThreadPoolExecutor.java:657)
at oracle.webcenter.concurrent.ModifiedThreadPoolExecutor$Worker.run(ModifiedThreadPoolExecutor.java:682)
at java.lang.Thread.run(Thread.java:662)
Caused by: oracle.stellent.ridc.protocol.ProtocolException: java.net.SocketException: Software caused connection abort: recv failed
at oracle.stellent.ridc.protocol.intradoc.HdaProtocol.readResponse(HdaProtocol.java:254)
at oracle.stellent.ridc.IdcClient.sendRequest(IdcClient.java:165)
at oracle.stellent.jcr.IdcPersistenceManagerFactory.createPersistenceManager(IdcPersistenceManagerFactory.java:171)
... 15 more
Caused by: java.net.SocketException: Software caused connection abort: recv failed
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:129)
at com.sun.net.ssl.internal.ssl.InputRecord.readFully(InputRecord.java:293)
at com.sun.net.ssl.internal.ssl.InputRecord.read(InputRecord.java:331)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:798)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.waitForClose(SSLSocketImpl.java:1523)
at com.sun.net.ssl.internal.ssl.HandshakeOutStream.flush(HandshakeOutStream.java:103)
at com.sun.net.ssl.internal.ssl.Handshaker.sendChangeCipherSpec(Handshaker.java:689)
at com.sun.net.ssl.internal.ssl.ClientHandshaker.sendChangeCipherAndFinish(ClientHandshaker.java:985)
at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverHelloDone(ClientHandshaker.java:904)
at com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:238)
at com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Handshaker.java:593)
at com.sun.net.ssl.internal.ssl.Handshaker.process_record(Handshaker.java:529)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:893)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1138)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:753)
at com.sun.net.ssl.internal.ssl.AppInputStream.read(AppInputStream.java:75)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
at java.io.BufferedInputStream.read(BufferedInputStream.java:237)
at oracle.stellent.ridc.common.util.StreamUtil.readRawLine(StreamUtil.java:227)
at oracle.stellent.ridc.common.util.StreamUtil.readLine(StreamUtil.java:254)
at oracle.stellent.ridc.protocol.intradoc.HdaProtocol.readHeaders(HdaProtocol.java:453)
at oracle.stellent.ridc.protocol.intradoc.HdaProtocol.readResponse(HdaProtocol.java:215)
... 17 more
31/10/2011 2:14:29 PM oracle.webcenter.content.internal.dt.connection.wizard.AdapterConfigPanel validateConfig
WARNING: Invalid Configuration Parameters
javax.jcr.RepositoryException: oracle.stellent.ridc.protocol.ProtocolException: java.net.SocketException: Software caused connection abort: recv failed
at oracle.jcr.impl.ExceptionFactory.repository(ExceptionFactory.java:161)
at oracle.stellent.jcr.IdcPersistenceManagerFactory.createPersistenceManager(IdcPersistenceManagerFactory.java:185)
at oracle.jcr.impl.OracleRepositoryImpl.login(OracleRepositoryImpl.java:444)
at oracle.vcr.jam.LoginTask.call(LoginTask.java:68)
at oracle.vcr.jam.LoginTask.call(LoginTask.java:29)
at oracle.webcenter.concurrent.Submission$2.run(Submission.java:484)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
at oracle.webcenter.concurrent.Submission.runAsPrivileged(Submission.java:498)
at oracle.webcenter.concurrent.Submission.run(Submission.java:424)
at oracle.webcenter.concurrent.Submission$SubmissionFutureTask.run(Submission.java:888)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at oracle.webcenter.concurrent.ModifiedThreadPoolExecutor$Worker.runTask(ModifiedThreadPoolExecutor.java:657)
at oracle.webcenter.concurrent.ModifiedThreadPoolExecutor$Worker.run(ModifiedThreadPoolExecutor.java:682)
at java.lang.Thread.run(Thread.java:662)
Caused by: oracle.stellent.ridc.protocol.ProtocolException: java.net.SocketException: Software caused connection abort: recv failed
at oracle.stellent.ridc.protocol.intradoc.HdaProtocol.readResponse(HdaProtocol.java:254)
at oracle.stellent.ridc.IdcClient.sendRequest(IdcClient.java:165)
at oracle.stellent.jcr.IdcPersistenceManagerFactory.createPersistenceManager(IdcPersistenceManagerFactory.java:171)
... 15 more
Caused by: java.net.SocketException: Software caused connection abort: recv failed
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:129)
at com.sun.net.ssl.internal.ssl.InputRecord.readFully(InputRecord.java:293)
at com.sun.net.ssl.internal.ssl.InputRecord.read(InputRecord.java:331)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:798)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.waitForClose(SSLSocketImpl.java:1523)
at com.sun.net.ssl.internal.ssl.HandshakeOutStream.flush(HandshakeOutStream.java:103)
at com.sun.net.ssl.internal.ssl.Handshaker.sendChangeCipherSpec(Handshaker.java:689)
at com.sun.net.ssl.internal.ssl.ClientHandshaker.sendChangeCipherAndFinish(ClientHandshaker.java:985)
at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverHelloDone(ClientHandshaker.java:904)
at com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:238)
at com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Handshaker.java:593)
at com.sun.net.ssl.internal.ssl.Handshaker.process_record(Handshaker.java:529)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:893)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1138)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:753)
at com.sun.net.ssl.internal.ssl.AppInputStream.read(AppInputStream.java:75)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
at java.io.BufferedInputStream.read(BufferedInputStream.java:237)
at oracle.stellent.ridc.common.util.StreamUtil.readRawLine(StreamUtil.java:227)
at oracle.stellent.ridc.common.util.StreamUtil.readLine(StreamUtil.java:254)
at oracle.stellent.ridc.protocol.intradoc.HdaProtocol.readHeaders(HdaProtocol.java:453)
at oracle.stellent.ridc.protocol.intradoc.HdaProtocol.readResponse(HdaProtocol.java:215)
... 17 more
Please let me know the valid Configuration Parameters?
Thanks,
Manjunath
Edited by: 890922 on Oct 30, 2011 8:25 PMYou need to supply the "Key Store Location", "Key Store Password", "Private Key Alias" and "Private Key Password' to use socketssl.
Also please make sure that the content server has enabled "Use SSL". You can configure it using the enterprise manager. -
No PC Companion connection using wifi
I have Xperia Z1 and have paired my device with my PC with the USB cable. I would now like to connect wirelessly using wifi but this doesn't work. Each time I select connect on my computer name in USB Connectivity/Trusted Devices it sits there saying "Connecting..." but nothing ever happens on my PC. I've removed my connection and renewed the pairing but this has not made any difference. Does anyone know how I can do this, since connecting by wifi is much more convenient than using the USB cable.
Hi gwaz,
I have the same problem. Had you have any luck, yet?
Thanks! -
HT201301 how can I connect using wifi?
Using app called "Its Playing"- How can I connect to Pc using wifi?
Just want do you want to do via wifi?
The app is a video player the can use airplay, TV out. -
Creating Peer to Peer connections using intermediate server
I want to connect two clients (via TCP/IP sockets in Java). The clients can discover each other using an intermediate server. Once the clients discover each other, there should not be any involvement of the server.
I made some study about this and found many people suggesting JXTA. But I'd like to create the protocol myself from scratch (because in future I might have to implement the same using WebSockets as well (when my client is a Browser)). Currently, my clients can be Desktop applications or mobile applications.
My questions are:
1. How will clients discover each other at the server? If the server sends the global IP address of the clients to each other, will that information be enough to create a peer-to-peer connection? What if the clients are on the same LAN network and the server is on a different WAN?
2. Client have dynamic IP address. Can their IP change all of a sudden even if it has an active socket?
3. Is peer-to-peer connection is reliable for transfer of non-continuous data (like in chat application)?
[*NOTE*: by peer-to-peer connection I mean establishing a client-server TCP/IP socket connection by making one of the client as temporary socket-server]
Thanks in advance.two clients (via TCP/IP sockets in Java). The clients can discover each other using an intermediate server.If you only have 2 clients, it's hardly worth putting a server between them; a client 'discovering' the server is as much work as one client discovering the other.
-
Creating Point-to-Multipoint connection using Bluetooth
Hi,
I have a problem with my application. It's supposed to be a part of a Bluetooth multiplayer game responsible for data exchange between devices. I created it based on the code from
[http://www.forum.nokia.com/info/sw.nokia.com/id/2b17fb6f-b9a4-4cd8-80fd-94b8251a048e/Games_Over_Bluetooth_v1_0_en.zip.html]
The part of the code responsible for detecting devices and connecting with them works just fine both on the emulator and real devices. The data exchange works perfectly on my Netbeans 6.5.1 and WTK 2.5.2 in the default emulator, but the problems arise when try to run it on SE C905, Nokia N73 and Nokia 5530 XpressMusic (it doesn't work even between any two devices).
The data exchange should look like this:
1. Send data from clients to the server -> 2. server receives the data -> 3.Server sends combined data from all clients to each client-> 4. clients receive the combnied data -> go back to 1.
The problem on the real devices is that the connection is opened but data is not exchanged. The first piece of data is sent from the client and received by the server, but after that nothing gets received.
It gets lost somewhere... The data is exchanged in DataExchange inner class
I would be very grateful for any help
Here's my code:
Client:
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import javax.bluetooth.*;
import javax.microedition.io.*;
import javax.microedition.lcdui.*;
import javax.microedition.midlet.*;
* @author Zawada
public class MultiClient extends MIDlet implements CommandListener {
private Display display;
private Form clientForm;
private Command exitCommand;
private LocalDevice local_device;
private DiscoveryAgent disc_agent;
private String service_UUID;
private String player_name;
private String url;
private StreamConnectionNotifier notifier;
private StreamConnection con;
private InputStream is;
private OutputStream os;
private boolean isConnectionActive = false;
private String message = "5678";
private Thread dataExchange;
public MultiClient() {
display = Display.getDisplay(this);
clientForm = new Form("Bluetooth Client");
clientForm.append("Application started\n\n");
exitCommand = new Command("Exit", Command.EXIT, 1);
clientForm.addCommand(exitCommand);
clientForm.setCommandListener(this);
public void startApp() {
display.setCurrent(clientForm);
try {
setUpClient();
} catch (IOException ex) {
ex.printStackTrace();
public void pauseApp() {
public void destroyApp(boolean unconditional) {
isConnectionActive = false;
if (is != null & os != null & con != null) {
try {
// Multiplayer session is stopped: Disconnect the devices
// close input stream
is.close();
// close output stream
os.close();
// Close connection
con.close();
} catch (IOException ex) {
ex.printStackTrace();
notifyDestroyed();
public void commandAction(Command c, Displayable d) {
if (c == exitCommand) {
destroyApp(true);
private void setUpClient() throws IOException {
try {
// Obtain local device object
local_device = LocalDevice.getLocalDevice();
// Obtain discovery agent object
disc_agent = local_device.getDiscoveryAgent();
// Set device into limited access mode. Inquiry scan
// will listen only to LIAC.
local_device.setDiscoverable(DiscoveryAgent.GIAC);
// Do the service search on all found devices.
// Note: dont use this UUID in your own MIDlets.
// You have to create an own UUID for each MIDlet that you write:
service_UUID = "F0E0D0C0B0A000908070605040302010";
// Retrieve players name
// This could be a name that user has modified and stored to
// non-volatile memory. As default (when game is first started)
// the local friendly name could be chosen.
player_name = "Ziom";//local_device.getFriendlyName();
// Open connection, note: name is attribute ID 0x0100
url = "btspp://localhost:" + service_UUID + ";name=" + player_name;
notifier = (StreamConnectionNotifier) Connector.open(url);
// Wait on someone to connect (note: you can cancel this wait
// only if you call notifier.close() from another thread.
// This is important if you want to offer a UI for the user
// to cancel connections setup.)
con = (StreamConnection) notifier.acceptAndOpen();
// open input stream
is = con.openInputStream();
// open output stream
os = con.openOutputStream();
clientForm.append("Connection opened\n");
// Devices are connected now:
// Run the game / exchange data ...
dataExchange = new DataExchange();
dataExchange.start();
} catch (BluetoothStateException ex) {
ex.printStackTrace();
private class DataExchange extends Thread {
private byte[] sentData;
private byte[] receivedData;
public DataExchange() {
isConnectionActive = true;
public void run() {
int j = 0;
while (isConnectionActive == true) {
try {
sentData = message.getBytes();
os.write(sentData);
System.out.println("data written: " + new String(sentData));
// clientForm.append("Data sent\n");
int lengthavai = 0;
//wait till having received data from the server
while ((lengthavai = is.available()) <= 0) {
// clientForm.append("Waiting for data\n");
receivedData = new byte[lengthavai];
int length = is.read(receivedData);
System.out.println("data read: " + new String(receivedData));
clientForm.append(new String(receivedData));
} catch (IOException ex) {
clientForm.append("IO ex\n");
ex.printStackTrace();
j++;
}Server:
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.util.Enumeration;
import java.util.Vector;
import javax.bluetooth.*;
import javax.microedition.io.Connector;
import javax.microedition.io.StreamConnection;
import javax.microedition.lcdui.*;
import javax.microedition.midlet.*;
* @author Zawada
public class MultiServer extends MIDlet implements CommandListener {
private Display display;
private Form serverForm;
private Command exitCommand;
private LocalDevice local_device;
private String url;
private StreamConnection[] con;
private InputStream[] is;
private OutputStream[] os;
private String message = "1234";
private boolean isConnectionActive = false;
private UUID[] u;
private int numberOfClients;
private Thread dataExchange;
public MultiServer() {
display = Display.getDisplay(this);
serverForm = new Form("Bluetooth Server");
serverForm.append("Application started\n\n");
exitCommand = new Command("Exit", Command.EXIT, 1);
serverForm.addCommand(exitCommand);
serverForm.setCommandListener(this);
public void startApp() {
display.setCurrent(serverForm);
System.out.println("5678".getBytes().length);
try {
setUpServer();
} catch (BluetoothStateException ex) {
serverForm.append("BT ex\n");
ex.printStackTrace();
} catch (InterruptedException ex) {
serverForm.append("Interr ex\n");
ex.printStackTrace();
} catch (IOException ex) {
serverForm.append("IO ex\n");
ex.printStackTrace();
public void pauseApp() {
public void destroyApp(boolean unconditional) {
isConnectionActive = false;
// Multiplayer session is stopped: Disconnect the devices
for (int i = 0; i < numberOfClients; i++) {
try {
if (is != null & os != null & con != null) {
// close input stream
is.close();
// close output stream
os[i].close();
// Close connection
con[i].close();
} catch (IOException ex) {
ex.printStackTrace();
notifyDestroyed();
public void commandAction(Command c, Displayable d) {
if (c == exitCommand) {
destroyApp(true);
private void setUpServer() throws BluetoothStateException, InterruptedException, IOException {
// Obtain local device object
local_device = LocalDevice.getLocalDevice();
// Obtain discovery agent object
DiscoveryAgent disc_agent = local_device.getDiscoveryAgent();
// Disable page scan and inquiry scan
local_device.setDiscoverable(DiscoveryAgent.NOT_DISCOVERABLE);
// create inquiry listener object
InquiryListener inq_listener = new InquiryListener();
synchronized (inq_listener) {
// start a limited access inquiry and install inquiry listener
disc_agent.startInquiry(DiscoveryAgent.GIAC, inq_listener);
serverForm.append("Inquiry started\n");
// Wait
inq_listener.wait();
serverForm.append("Inquiry ended\n");
// Do the service search on all found devices
u = new UUID[1];
// Note: dont use this UUID in your own MIDlets.
// You have to create an own UUID for each MIDlet that you write:
u[0] = new UUID("F0E0D0C0B0A000908070605040302010", false);
int attrbs[] = {0x0100};
// Retrieved service record should include player
// name (service name)
Enumeration devices = inq_listener.cached_devices.elements();
serverForm.append("Number of devices found: " + inq_listener.cached_devices.size() + "\n");
ServiceListener serv_listener = new ServiceListener();
while (devices.hasMoreElements()) {
synchronized (serv_listener) {
// on each device do a service search
disc_agent.searchServices(attrbs, u, (RemoteDevice) devices.nextElement(), serv_listener);
serverForm.append("Service inquiry started\n");
// Wait
serv_listener.wait();
serverForm.append("Service inquiry ended\n");
// Now all devices which offer the requested service (game)
// can be found in the serv_listener.FoundServiceRecord list.
// This list would now be presented to the user and user can filter
// this list/ select one or more devices to connect to.
// Or in other words: remove all devices from FoundServiceRecords
// list that you don't want to connect to.
// Here we just print all the (remote) player names
numberOfClients = serv_listener.FoundServiceRecords.size();
serverForm.append("Number of clients: " + numberOfClients +"\n");
String player_name;
for (int i = 0; i < numberOfClients; i++) {
// Retrieve player name which is contained as service name
// (0x0100) in the service record
player_name = (String) ((ServiceRecord) serv_listener.FoundServiceRecords.elementAt(i)).getAttributeValue(
0x0100).getValue();
// print name
System.out.println(player_name);
// After filtering these devices will be connected:
con = new StreamConnection[numberOfClients];
is = new InputStream[numberOfClients];
os = new OutputStream[numberOfClients];
for (int i = 0; i < numberOfClients; i++) {
// Retrieve url for one device/service
url = ((ServiceRecord) serv_listener.FoundServiceRecords.elementAt(i)).getConnectionURL(ServiceRecord.AUTHENTICATE_ENCRYPT, false);
// Open connection
con[i] = (StreamConnection) Connector.open(url);
// open input stream
is[i] = con[i].openInputStream();
// open output stream
os[i] = con[i].openOutputStream();
serverForm.append("Connection " + i + " opened\n");
// Devices are connected now:
// Run the game / exchange data ...
dataExchange = new DataExchange();
dataExchange.start();
Maybe you are looking for
-
How do I get rented movies from MacBook to appear on Apple TV?
I can buy movies and they appear fine, but when I rent a movie on MacBook for play on Apple TV, nothing appears in Apple TV under Movies. (And I've updated the firmware on Apple TV). Any guidance?
-
JDBC on Informix and national characters
Hi, I have this problem, I'm reading a varchar column from an Informix database using JDBC, but I got a problem with the national encoding. Some of the national specific characters are replaced by questionmarks (only with these). Setting the meta hea
-
Archiving attachments???
In ECC 5.0, when you archive purchase orders (MM_EKKO), are the PO attachments also archived? Thanks, Tina
-
Hi, I'm using JBuilder 4 ( I know its pretty old but we can't afford to keep upgrading...) and I've just reached a problem with the debugger. My project has dozens of included libraries and as such the command line created by JBuilder has got longer
-
AfterEffects CC opens Cinema4D Lite instead of fully licensed Cinema4D Studio
Hello everyone, my issue is quite the opposite of yesterday's post by viclio: I have a fully licensed version of Cinema4D Studio but AfterEffects CC continues to open Cinema4D Lite. My system is running on MacOSX 10.8.4, both AE and C4D are updated t