Rocksolid Light

Welcome to Rocksolid Light

mail  files  register  newsreader  groups  login

Message-ID:  

War isn't a good life, but it's life. -- Kirk, "A Private Little War", stardate 4211.8


devel / comp.lang.java.programmer / Re: Socks + NIO possible?

SubjectAuthor
o Socks + NIO possible?weiqi fan

1
Re: Socks + NIO possible?

<7603edb8-252a-43e1-b4a3-b864ce4cffban@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=497&group=comp.lang.java.programmer#497

  copy link   Newsgroups: comp.lang.java.programmer
X-Received: by 2002:a05:620a:4592:b0:773:149e:1473 with SMTP id bp18-20020a05620a459200b00773149e1473mr378111qkb.12.1697081466000;
Wed, 11 Oct 2023 20:31:06 -0700 (PDT)
X-Received: by 2002:a05:6808:200c:b0:3a1:f2a4:3d7 with SMTP id
q12-20020a056808200c00b003a1f2a403d7mr12545627oiw.1.1697081465807; Wed, 11
Oct 2023 20:31:05 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.java.programmer
Date: Wed, 11 Oct 2023 20:31:05 -0700 (PDT)
In-Reply-To: <49ecb5de$0$23271$9b622d9e@news.freenet.de>
Injection-Info: google-groups.googlegroups.com; posting-host=116.206.100.4; posting-account=U6HEEwoAAADUTn5zspF_GT8SSYzfDoA8
NNTP-Posting-Host: 116.206.100.4
References: <49e9c57e$0$4034$9b622d9e@news.freenet.de> <op.usld9jqm8jd0ej@macbook-pro.local>
<op.usleizay8jd0ej@macbook-pro.local> <op.usle8gxp8jd0ej@macbook-pro.local>
<49ea90ba$0$23287$9b622d9e@news.freenet.de> <op.usl8jyhr8jd0ej@macbook-pro.local>
<49ecb5de$0$23271$9b622d9e@news.freenet.de>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <7603edb8-252a-43e1-b4a3-b864ce4cffban@googlegroups.com>
Subject: Re: Socks + NIO possible?
From: sherlockffff@gmail.com (weiqi fan)
Injection-Date: Thu, 12 Oct 2023 03:31:05 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2794
 by: weiqi fan - Thu, 12 Oct 2023 03:31 UTC

在 2009年4月21日星期二 UTC+8 01:50:06,<Christian> 写道:
> Peter Duniho schrieb:
> > On Sat, 18 Apr 2009 19:47:08 -0700, Christian <fake...@xyz.de> wrote:
> >
> >> [...]
> >> My hope was that there was sort of an alike way to handle Proxys
> >> without having to change all code where SocketChannels are in use.
> >>
> >> There just is no .connect() method for socketChannel that allows for a
> >> proxy..
> >
> > Well, I admit I haven't used it. But as I mentioned, it appears to me
> > that you can use the ProxySelector class (or more specifically, your own
> > implementation of the class) to globally direct all Socket i/o to use a
> > particular proxy server.
> >
> > I agree that the restriction on SocketChannel, where (as the docs say)
> > "It is not possible to create a channel for an arbitrary, pre-existing
> > socket", means you can't construct a Socket to use a specific proxy.
> > But as long as you can deal with setting it on a global basis (at least
> > temporarily, while you create the SocketChannel you need), it seems like
> > it would work.
> >
> > Pete
> Problem I have is: SocketChannel seems to ignore global settings.
> It just doesn't work here.
> Christian
Have you resolved this problem?

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor