network-programming

Why can't I connect with a non-browser application to this url?

Hi, Anyone knows why this url rejects connection requests being sent by a non-browser application (wget,curl, elinks!): http://sube.garanti.com.tr https://sube.garanti.com.tr/isube/login/en It's my bank account and I'm trying to make my transfers with a script but as you see this super secured servers do not allow me. Any suggestions...

When I run a raw socket program it generates an invalid arguments error.

please help me. i don't find answers for it, after long serch for 2 days iam posting. please help me i very new to socket programing and i written a small code to divert packets at tcp layer for that i used ip_queue's and netlinks with NETLINK_FIREWALL protocol. What i have done is iptables -I OUTPUT -j QUEUE -p udp --destination-port...

UDP client and server

Hi I want to use UDP client which using Microphone to record the voice and send wave file direct to UDP server. If anyone has java code plz help me. Thank you. ...

Closing and Opening Frames in wxPython

I'm working on writing a very simple client/server application as an excuse to start learning network/gui programming in python. At the moment I'm stuck on transitioning from my login frame to the main frame of the application. The login frame is a subclass of wx.Frame, and basically I just want to close it and open the main frame when...

Problem using AddIPAddress when impersonating an Admin User

I am attempting to add a temporary IP address to a NIC using AddIPAddress when logged in as a non-admin user. The MSDN documentation for AddIPAddress states that ERROR_INVALID_HANDLE is returned as as error if the function is called by a non-admin user. Given that I have preceeded the call to AddIPAddress with API calls to LogonUser() a...

reliable multicast in C#

Hi, what are my options for reliable multicast in c# /.Net 3.5? I don’t want to use MSMQ. I am open to commercial as well as open source options. Thanks ...

How to measure network performance (how to benchmark network protocol)

First, a bit of background. There are many various comparison of distributed version control systems (DVCS) which compare size of repository, or benchmark speed of operations. I haven't found any that would benchmark network performance of various DVCS, and various protocols used... beside measuring speed of operations (commands) involvi...

What is the recommended way of encoding/decoding XDR types in erlang?

In another SO discussion, we were talking about interfacing an erlang application to another non-erlang app that is using XDR encoded packets for network communications. Unfortunately, I couldn't really find any real pointers on dealing with XDR data using erlang. So what is the recommended way of dealing with XDR encoded data in erla...

Obfuscation or hiding of server to client state updates

I'm not actually writing this software myself, but it occurred to me that I have no idea how to solve the problem. As the best way to explain the problem, I'll describe a specific scenario from a hypothetical multi-player first-person shooter game... Player A is hiding in some bushes facing west Player B is sneaking up on player A from...

Why does UnicastIPAddressInformation.IPv4Mask return null on an IPv4 Address?

The following is a section of code which builds a list of IP addresses and their subnet masks from the local system, however the Warn function seems to get triggered regularly which should in theory be impossible - as it should not be possible to have an IPv4 address without the associated subnet mask[?]. static NetworkUtil() { ...

Is it possible to connect iPhones through NAT traversal techniques over 3G for peer 2 peer gaming

Is it possible to connect an iPhone to another iPhone or any other network client talking that game's protocol. I was thinking that I could use the same NAT Traversal technique used in the XBox 360 to host games on users XBox's through Firewalls. For NAT traversal to work effectively I'd have to have a central server that would allow c...

Best Game network programming articles and books

What are good resources for the latest in Game network programming. I'm looking for something that's not the traditional business software network programming, talking about RPC and clients making calls to the server. I'm looking for techniques and articles on the latest in Game simulation network programming. I'm looking for techniques...

Monitoring outgoing internet traffic

Is there a way to monitoring internet traffic programatically? I would like to log the pages users are visiting on the Internet. Can this be achieved with .NET code, is there a 3rd party .NET component that could be used to retrieved data. Information about Internet traffic must be stored to a database so I cannot use a plugin or somet...

Does BitTorrent support partial transfers?

Can the BitTorrent protocol specify wanting the first 3% or first 5% of the file first? If not, would adding such support be an improvement to the protocol? Update: so i guess, if it is part of the protocol, why the many clients out there do not use it? After 10 minutes, 10% of the file is done, but usually you cannot even preview 1% o...

easy to write a script to test whether the network is ever down for the next 24 hours?

is it easy to write a script to test whether the network is ever down for the next 24 or 48 hours? I can use ssh to connect to a shell and come back 48 hours later to see if it is still connected to see if the network has ever been down, but can i do it programmatically easily? ...

how does creating too many sockets affect or even crash a router?

Are there different limitations as to how many connections (sockets) that can be created and use it for data transfer? Does it matter if there is a presence of a home router or a commercial grade router? For example, different users have different experience with Linksys, D-link, or Netgear routers. Some may be more easily down or "ge...

how to know all remote connections of a LAN host in PHP or Java?

I mean: TCP 192.168.0.190:22218 69.59.196.211:80 ESTABLISHED TCP 192.168.0.190:22237 72.14.203.102:80 ESTABLISHED TCP 192.168.0.190:22322 69.59.196.216:80 ESTABLISHED TCP 192.168.0.190:22324 64.34.80.173:80 ESTABLISHED but not localhost. Say,you are 192.168.0.191,but you want to know n...

What types of apps are developed today using socket programming?

I've worked in business application development for a while but have never done socket programming. I know that all HTTP transport implicitly involves socket communication but this is all abstracted when using most software frameworks. So I was curious what types of apps developed today involve socket programming? ...

Why do some switches have uplink ports?

So, this appears, on the surface, to be a network admin (serverfault) question, but I'm looking for a lower level answer from a network hacker type. I was pretty much oblivious to how networks actually work in real life until I started my summer internship. Then, by way of having no other option (internship is at a pretty networking-ce...

How can I learn _really_ low-level network programming?

So I want to learn all about networks. Well below the socket, down to raw sockets and stuff. And I want to understand hubs, routers, access points, etc. For example, I'd like to be able to write my own software to do this kind of stuff.* Is there a great source for this kind of information? I know that I'm asking a LOT here, and tha...