connections of RAW socket to the server inside the corporate network

Hello!

I have not found any documentation anywhere elsewhere I hope someone can help out me.

o know for ftp/http there are a proxy that is used in the scope of work to access the servers inside the corporate network.

But what is the best practice for an application installed on the perimeter of work to establish a raw socket connection to access network resources other than http/ftp behind my corporate firewall? so I want something like

sock int = socket (AF_INET, SOCK_STREAM, 0);

Connect (...) //using a host/ip within my company and port 1234

Write (...)

Close (sock)

is this possible?

and second: will it work if I use QTCPSocket?

Hello.

Yes, there is a recommended approach to do this for the current version of BES.  A HTTP proxy is used to connect to both corporate and external networks internal when in the scope of work.  To connect to a particular host and port, you HTTP CONNECT request to the proxy, and then once the connection is established, you have a connection with the remote server socket.  I wrote a sample application that covers the QTcpSocket / QSslSocket, BSD sockets, OpenSSL taken and connections of curvature (the species is supposed to be transparent, but there has been problems reported with some built OS).

I'll clean up this sample application and submit for review before it is posted on GitHub.  If your need is urgent, I could share a few code snippets to help you to implement the solution for your specific use case.

Tags: BlackBerry Developers

Similar Questions

  • Motorola Milestone does not connect to the corporate network after updating to Froyo...

    I've updated my Milestone that is the version of Froyo UNITED Arab Emirates yesterday after a long delay, was really excited all night until I've discovered two problems with my wifi.

    The device does not connect to the corporate network, as my office uses EAP 802.1 x and there is no place to enter proxy where my friends using samsung galaxy s (Froyo 2.2) connect to the network and navigate using the wifi settings advanced to enter the proxy in their device.

    Any help? Please, I beg you.

    Hey Ronald, I've updated by upper about the update saying that UNITED Arab Emirates and EGYPT got last week. Don't know if the Saudi version has achieved, you have the Saudi Version or is it the same in the UNITED Arab Emirates. If his UNITED Arab Emirates you can do it via the PC using Software updater by Motorola...

  • I need to connect a Windows 7 PC, which is on a corporate network to a PC running Windows XP.

    I've had two PC Windows XP connected via a crossover cable. One of the PC was also connected to the network of the company, and with a second network card, was connected to a PC running Windows XP. A shared folder on the PC not connected to the corporate network has been used by the PC that was connected to the corporate network. I need to repeat this step but the PC connected to the network of the company was changed to a Windows 7 PC.

    Hello

    The question you posted would be better suited in the TechNet Forums. I would recommend posting your query in the TechNet Forums:

    http://social.technet.Microsoft.com/forums/en/w7itpronetworking/threads

  • zero or change username & password for a connection to another computer on the local network?

    When you open the network, and see you computers and or network for the Working Group action, well, I entered accidentally the wrong username / password for the computer, and I can't seem to change the username-password and or reset it.

    On the local network, I have a linux machine using samba, all permissions are correct, since the box vista * can * connect just fine and have access to everything which, however, on the vista box, I checked still remember the name of user and password, and now I can't change it on another account, I need to take it.

    I have searched for hours and I can't seem to find the answer.

    I tried to disable the account on the linux side and this does not, however, so, he says: "access denied", with no way to enter a new username / password!

    Anyone has an idea on how to solve this problem?

    Finally found the answer.

    In the cmd prompt, (Administrator rights), making control userpasswords2, and then tap the Advanced tab and finally, the button manage passwords.

  • Ipad Cisco ipsec VPN connects but not access to the local network

    Hi guys,.

    I am trying to connect our ipads to vpn to access network resources. IPSec cisco ipad connects but not lan access and cannot ping anything not even not the interfaces of the router.

    If I configure the vpn from cisco on a laptop, it works perfectly, I can ping all and can access resources on the local network if my guess is that the traffic is not going in the tunnel vpn between ipad and desktop.

    Cisco 877.

    My config is attached.

    Any ideas?

    Thank you

    Build-in iPad-client is not useful to your configuration.

    You have three options:

    (1) remove the ACL of your vpn group. Without split tunneling client will work.

    2) migrate legacy config crypto-map style. Here, you can use split tunneling

    3) migrate AnyConnect.

    The root of the problem is that the iPad Gets the split tunneling-information. But instead of control with routing traffic should pass through the window / the tunnel and which traffic is allowed without the VPN of the iPad tries to build a set of SAs for each line in your split-tunnel-ACL. But with the model-virtual, SA only is allowed.

  • Replacement of the corporate network switches how ESX and VM will react?

    We replace all our switches in current network with new gear. All our ESX network connections are redundant (console, vmotion and virtual machine) with each connection associated with a different switch (for example the virtual machine NIC is connected to different switches and the same for other groups of ports). I was wondering what will happen when migrate us to the new switches. We intend to make this port a port at a time. My guess is that when we have the first virtual machine network cable and move again preconfigured port switch all the VMS on this NETWORK adapter will switch to the other NETWORK adapter as if it was a failure. The migrated Server NETWORK card will be auto-negotiation with the new port and become availble for use but VM will not request for load balancing between the two network cards. We then will at some point to move the other virtual machine from the old network card switch to a new switch and the VM are switched to the new other switch port and as the first card NETWORK occurs autonegotiation and the nic will become available. But how do I get the network traffic balancing across both connections of NIC's virtual machine? I understand that load balancing of virtual machine through the NETWORK interface only to the market and vmotions card - is this true and if so how can I force a reload balance or even manually load balance... Thank you

    Failback only works when you run active / standby NIC.  If you are running active-active, you can set the host mode maint, let it drain and then leave the mode maint to allow virtual machines to come back and live on some Teddy they land on.

    With respect to the passage of the switch the riskier part is to make sure that you have all the VLAN defined on the 'new' switch and that there is a layer 3 path to the front door of this switch.  When you migrate the first server I would put in mode now, put some DRS in manual mode and then make the transition.  Then a vMotion machine virtual not essential (or 1 VM for each VIRTUAL local area network) on to this host to make sure that the installer of L2 and L3 works correctly.  Make sure that the field of L2 on the old switches can talk to the L2 area on the new switches.

    Ben

  • How the auto connect to a computer on the local network

    Running xp tries to connect to a VISTA computer via wireless LAN.  After restarting the computer, connect to the printer/fax is available!  This connection is established by clicking in Explorer solutions, NETWORK connections, computer and I am prompted for the password and the computer name.  I wish that other users are able to do this more easily.  Is there a primitive command in a DOS command for example dir .../username=/password=?  I wrote a simple procedure to determine if we are connected, but if we don't, then I want to simplify the process.

    Hi elischneider,
     
    You can disable the sharing option of password on your Vista computer to use the printer/fax without entering the login credentials each time.
     
    See the section ""password protected sharing is enabled ' from the following link to do the same thing: "
  • Unable to connect to any computer on the local network

    The comand \\computer\ entry in Win/E window results in the error message "Windows cannot access \\computer '. Login/password is not the problem.

    Thank you. The problem is resolved.

    All the reason was of new Windows patches received from Ms. In fact, my computer was in status after loading the new MS. patches

    The only necessary refill!

  • Connect to a printer on the wireless network

    I'm new to Vista and everytime I try to add a printer attached to my desktop I get a warning of access denied.  I can navigate to the printer in the network settings and I use this printer with my other laptop with no problems.  Someone at - it suggestions?


  • Automaticallyinstalling flash player for users on the corporate network

    Hello
    This is probably a big problem for many. I have a client who is unable to view our Web site because they are not allowed by the system to install things, thry need admin privaleges. The detection script works fine, but then they are unable to install the latest version of the player. Is there some way around this other that their Director hoping to install it for them?

    Any useful answer,

    See you soon,.

    Pat

    Tim was soon appreciated.

  • I have a Vista Enterprise desktop connected to the local network, but the notification icon still shows disconnected state

    I have my Vista connected to the network and the "network and sharing Center" shows that it is connected and network is accessible, but the network in the status bar icon displays an icon showing disconnected state. How to solve this problem? Restart does not help

    Guru

    Check and make sure you have these services defined in this way. This initiative will establish whether there is a connection.

    1 - on the road - network Manual connections
    2 network list Service - auto-
    3 network Location Awareness - road - automatic
    4. bad Service Network Interface - on the road - automatic

  • Vista can connect to other computers on the network, but not to the internet

    I have a Vista computer that I just reinstalled and it is connected through a router Thomson to a Win7 machine and internet (or at least it should be).  For some reason any Vista machine refers to the network as a public network that I can change this private and turn on discovery.  If I do that, then the machine Vista can see the Win7 machine through the router, but cannot connect to the internet.

    I tried to use the disk driver for the Thomson router on the Vista machine, but at the time wherever he tells me to connect cable internet installation program does not detect that the cable has been connected.

    Troubleshooting with software Vista suggests simply reboot the router (that I tried without success).  Needless to say that the Win7 machine connects to the internet fine.

    I was wondering whether to try to remove the connection and start again, but unable to do so because when the cable is plugged in tells me you cannot delete an active connection and when I disconnect the cable network connection disappears and so cannot be deleted.

    Grateful for pointers

    Ian

    Hi IanRC,

    Try the following steps.

    Step 1

    You can try to disable the antivirus software on your computer and check if it works. Activate antivirus once you check the status.

    Note An antivirus program is designed to help protect your computer against viruses. You must not download or open files from sources that you do not have trust, visit Web sites that do not trust, or open attachments when your antivirus program is disabled.

    Step 2

    Try the Microsoft Fixit. Open the link below and click it on the Fixit button.

    http://support.Microsoft.com/kb/928233

    Check if it works and post back the result.

    Bindu S -Microsoft Support
    [If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message.] [Marking a post as answer, or relatively useful, you help others find the answer more quickly.]

  • Dell support can make the diagnosis online on my computer damage water connected to the same network as the one I use now?

    HI: My Office has undergone a lot of overhead sprinklers water damage in my condo fire. I ordered a new power and it fuels the system very well, but I have no video and tried the video card of the computer another and it does not work. I can connect my alienware aurora to the same network with the computer that I use now. The warranty has expired. Any suggestions on my case? Thank you

    Our online diagnostics will not go to the bottom, you need. You must take the system at a local store. Must disassemble and examine most of its components in another system to try to dismiss what is defective or not. If all the components work in the other system, the CPU or the motherboard is faulty.

  • Comouter is no longer automatically connects to the wireless network.

    Until recent netbook Hannsbook my wife automatically connected to our wireless network when turned on.  We recently took a trip and used a different wireless network.  Back home, he is no longer automatically connect when turned on.  Software Troubleshooting in the Windows 7 Home Premium says he has been "manually disconnected' and it restores the connection.  I deleted all the other networks wireless to the computer.  Page manage wireless networks correctly identifies the network and says it should connect automatically.  BUT IT'S NOT!

    Once connected, the router works fine.  The connection is NOT lost when the computer goes into power saving mode. How do we get to resume its old custom to connect automatically when the computer is powered?  My wife is a technophobe and have to mess around to make the connection can be the drop of water!

    Hi Stuart,

    Do you have an error message when you try to connect to wireless networks?

    Perform the steps suggested by don241 from the link below and see if it helps.

    http://answers.Microsoft.com/en-us/Windows/Forum/Windows_7-networking/wireless-network-will-not-connect-automatically-on/4b34d624-81f6-4972-a34a-a74fd1825dd8

    Answer please if you have any questions.

  • Error: "\\(PC Name) is not accessible." You might not have permission to use this network resource... The specified network provider is not valid.

    Hi, this is a follow-up to the issue and my second attempt to find the solution. In addition, it is still connected to my first and second positions.

    My laptop that works with Windows 7 32-bit has 2 two natural questions:

    1. I can't access PC's on the network on the laptop itself and thus get an error:
    "\\(PC Name) is not accessible." You might not have permission to use this network resource. Contact the administrator of this server know if you have access permission. The specified network provider is not valid.

    2. When you make the file sharing Wizard, I get an error "your folder cannot be shared" and the only option is to click on 'Done '.

    I'm trying to share folders to another laptop that works with 64-bit Windows 8 but I think there must be a problem with the Windows 7 laptop. I can share and access all the folders of any laptop before.

    Thank you! Any useful response will be greatly appreciated.

    Hello Sevi,

    Thanks for posting your query in Microsoft Community.

    I understand that you have problems to access the specified network.

    But, I would like to know some information related to this topic to help you better.

    (1) is connected to a domain of the computer network?

    (2) is your computer connected to the homegroup?

    (3) have you been able to access the specified network previously.

    In the meantime, please follow the suggestions mentioned by Fazil M on May 15, 2012 and check if this is useful.

    Error "\\computername\f is not accessible.  You might not have permission to use this network resource"when accessing to Windows XP computer via a working group

    http://answers.Microsoft.com/en-us/Windows/Forum/Windows_7-networking/error-computernamef-is-not-accessible-you-might/a8db7f8c-6a7b-462D-B7F5-48707ae6b1f8

    I hope this helps. Otherwise, feel free to write us again and we will be happy to help you.

    Thank you

Maybe you are looking for

  • What Version of FireFox * AT * of the Mozilla download Site?

    I don't want to know what version of FireFox I have. I don't want to install some versions of FireFox, if they have problems associated with them. (1) Please indicate the version number that is currently (06/05/2014) available on the official Mozilla

  • How I have Firefox check the certificates revoked/expired?

    The heartbeat vulnerability fix requires servers to update openssl, get a new certificate and revoke the old certificate. To make sure a spoofed site does not use the revoked certificate, I need Firefox to check for revoked certificates. How can I ac

  • Win 7 - Vista Recovery

    The release of Win 7 in October, a clean install will be necessary, who will rub Vista. It will be possible, if you wish, to return to Vista, using the DVD (s) recovery or the recovery partition? It will be necessary to repeat the recovery DVD creati

  • Good battery charge for laptop to HP 15-D014tu Intel i3 - 3110M

    Hi, I know that this subject has been discussed and there is a lot of information online about this but he simply left me confused.  My question is what is the correct way to the battery of my new book of charge/discharge.  I have load to 100% and th

  • Accidentally changed both to 'standard user' user accounts, so now there is no user "administrator."

    I changed the two accounts to standard user accounts, and now of course I can't make changes, or download anything. Whenever I try to change anything, a UAC popup window appears, but that still leaves me not chang anything. Help. I think that window