Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion using ipaddr for changing ipaddress to connect?
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Philipp Hagemeister  
View profile  
 More options Oct 22 2012, 10:47 am
From: Philipp Hagemeister <phi...@phihag.de>
Date: Mon, 22 Oct 2012 16:47:03 +0200
Local: Mon, Oct 22 2012 10:47 am
Subject: Re: using ipaddr for changing ipaddress to connect?

On 10/22/2012 04:14 PM, Somang Nam wrote:

> Is it possible to change
> ip address when send, where they code it on python?

Yes, but that's not related to ipaddr-py at all, since ipaddr deals with
the management of IP addresses (i.e. describing network ranges,
transforming between different representations), and does not contain
any OS-specific and/or low-level code. You should ask this question on
stackoverflow or python-users.

Most likely, the answer will point you to socket.socket.setsockopt
and/or socket.socket.bind .

Cheers,

Philipp

  signature.asc
< 1K Download

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.