mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-23 07:27:22 +01:00
pass INITIAL_CLIENT_VERS and git version to relay
This commit is contained in:
parent
5197033de3
commit
f728f7459b
1 changed files with 5 additions and 0 deletions
|
@ -550,6 +550,11 @@ public class RelayService extends XWService
|
||||||
out.writeByte( typ[0] );
|
out.writeByte( typ[0] );
|
||||||
out.writeShort( devid.length() );
|
out.writeShort( devid.length() );
|
||||||
out.writeBytes( devid );
|
out.writeBytes( devid );
|
||||||
|
|
||||||
|
out.writeShort( GitVersion.CLIENT_VERS_RELAY );
|
||||||
|
out.writeShort( GitVersion.VERS.length() );
|
||||||
|
out.writeBytes( GitVersion.VERS );
|
||||||
|
|
||||||
postPacket( bas );
|
postPacket( bas );
|
||||||
} catch ( java.io.IOException ioe ) {
|
} catch ( java.io.IOException ioe ) {
|
||||||
DbgUtils.loge( ioe );
|
DbgUtils.loge( ioe );
|
||||||
|
|
Loading…
Add table
Reference in a new issue